W3cubDocs

/Symfony 4.1

StateMachineGraphvizDumper

class StateMachineGraphvizDumper extends GraphvizDumper

Properties

static protected $defaultOptions from GraphvizDumper

Methods

string dump(Definition $definition, Marking $marking = null, array $options = array())

Dumps a workflow definition.

findPlaces(Definition $definition, Marking $marking = null) from GraphvizDumper
findTransitions(Definition $definition) from GraphvizDumper
addPlaces(array $places) from GraphvizDumper
addTransitions(array $transitions) from GraphvizDumper
findEdges(Definition $definition)
addEdges(array $edges)
startDot(array $options) from GraphvizDumper
endDot() from GraphvizDumper
dotize($id) from GraphvizDumper
string escape(string $string) from GraphvizDumper

Details

string dump(Definition $definition, Marking $marking = null, array $options = array())

Dumps a workflow definition.

Parameters

Definition $definition A Definition instance
Marking $marking A Marking instance
array $options An array of options

Return Value

string The representation of the workflow

protected findPlaces(Definition $definition, Marking $marking = null)

Parameters

Definition $definition
Marking $marking

protected findTransitions(Definition $definition)

Parameters

Definition $definition

protected addPlaces(array $places)

Parameters

array $places

protected addTransitions(array $transitions)

Parameters

array $transitions

protected findEdges(Definition $definition)

Parameters

Definition $definition

protected addEdges(array $edges)

Parameters

array $edges

protected startDot(array $options)

Parameters

array $options

protected endDot()

protected dotize($id)

Parameters

$id

protected string escape(string $string)

Parameters

string $string

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Workflow/Dumper/StateMachineGraphvizDumper.html