프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$path | path where the graphml file to load is located |
메소드 | 설명 | |
---|---|---|
convert ( string $graphmlFile ) | Convert a graphml file describing a workflow into an array suitable to create a workflow object. | |
createFilename ( string $workflowId ) : string | creates and returns the filename where the workflow $workflowId is stored. | |
loadDefinition ( string $workflowId, IWorkflowSource $source ) : array | Loads the definition of the workflow whose id is passed as argument. |
메소드 | 설명 | |
---|---|---|
collectNodes ( ) : [] |
Extract nodes defined in the graphml input file. When working with yEd, remember that the node 'label' is used as the node id by workflow. |
|
collectTransitions ( ) : [] | Extract edges defined in the graphml input file | |
collectWorkflowProperties ( ) | ||
createWorkflowDefinition ( [] $w, [] $n, [] $e ) | Merges all arrays extracted from the graphml file (workflow, nodes, edges) to create and return a single array descrbing a workflow. | |
extractYedProperties ( ) | Retrieve the graphml id attribute for each named properties defines in the _mapper array. | |
isBlank ( string $str ) : boolean |
public createFilename ( string $workflowId ) : string | ||
$workflowId | string | the workflow id |
리턴 | string | the filename |
public loadDefinition ( string $workflowId, IWorkflowSource $source ) : array | ||
$workflowId | string | |
$source | IWorkflowSource | the workflow source component |
리턴 | array | the workflow definition |