Class SWyEdConverterDOM
Converts a workflow created with yEd Graph Editor (freeware) and saved in
graphml format into an array suitable to be used with the simpleWorkflow
extension (sW).
The conversion is based on the $mapper array, which defines matches between sW attributes and properties used by yEd. Following sW values are references using a predefined name :
The conversion is based on the $mapper array, which defines matches between sW attributes and properties used by yEd. Following sW values are references using a predefined name :
- workflow - initial : is the id of the initial node
- node - id : id of a given node
- node - constraint : PHP expression used as constraint for a node
- node - label : text label for a node
- node - metadata.* : custom metadata value
- edge - task : PHP expression executed when the transition is performed
Located at SWyEdConverterDOM.php
Methods summary
public
|