class StateMachineGraphvizDumper extends GraphvizDumper

Properties

static protected $defaultOptions from GraphvizDumper

Methods

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

Dumps a workflow definition.

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

No description

findTransitions(Definition $definition)

No description

addPlaces(array $places)

No description

addTransitions(array $transitions)

No description

findEdges(Definition $definition)

No description

addEdges(array $edges)

No description

startDot(array $options)

No description

endDot()

No description

dotize($id)

No description

string
escape(string $string)

No description

Details

at line 30
string dump(Definition $definition, Marking $marking = null, array $options = [])

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

in GraphvizDumper at line 64
protected findPlaces(Definition $definition, Marking $marking = null)

Parameters

Definition $definition
Marking $marking

in GraphvizDumper at line 88
protected findTransitions(Definition $definition)

Parameters

Definition $definition

in GraphvizDumper at line 105
protected addPlaces(array $places)

Parameters

array $places

in GraphvizDumper at line 119
protected addTransitions(array $transitions)

Parameters

array $transitions

at line 47
protected findEdges(Definition $definition)

Parameters

Definition $definition

at line 68
protected addEdges(array $edges)

Parameters

array $edges

in GraphvizDumper at line 179
protected startDot(array $options)

Parameters

array $options

in GraphvizDumper at line 191
protected endDot()

in GraphvizDumper at line 199
protected dotize($id)

Parameters

$id

in GraphvizDumper at line 207
protected string escape(string $string)

Parameters

string $string

Return Value

string