Class GraphmlLoader
Parser for workflow definition stored as graphml file. graphml format is an XML language designed to describe an oriented graph structure. Before using this format to define a workflow, make sure you comply with requirements. (refer to the user guide)
- yii\base\Object
- raoul2000\workflow\source\file\WorkflowDefinitionLoader
- raoul2000\workflow\source\file\GraphmlLoader
Methods summary
public
array
|
#
loadDefinition( string $workflowId, IWorkflowSource $source )
Loads the definition of the workflow whose id is passed as argument. |
public
string
|
#
createFilename( string $workflowId )
creates and returns the filename where the workflow |
public
|
#
convert( string $graphmlFile )
Convert a graphml file describing a workflow into an array suitable to create a workflow object. |
Methods inherited from raoul2000\workflow\source\file\WorkflowDefinitionLoader
Properties summary
public
string
|
$path
path where the graphml file to load is located |
#
'@app/models'
|