new Chart() → {Object}
Chart class
- Source:
- flowchart/js/flowchart.js, line 331
Returns:
A flowchart.Chart instance
- Type
- Object
Methods
-
getXmlObject(path) → {Object}
Loads the xml from path
-
Parameters:
Name Type Description path
String The xml path - Source:
- flowchart/js/flowchart.js, line 335
Returns:
The xml object- Type
- Object
-
listen(evt_name, params)
Callback called when passing from a block to the next one @see flowchart.EventDispatcher
-
Parameters:
Name Type Description evt_name
String The event name params
Object The params passed by the EventDispatcher Properties
Name Type Description from
String The id of the previous block next
String The id of the next block - Source:
- flowchart/js/flowchart.js, line 378
Returns:
void -
run(from, id)
Renders a block
-
Parameters:
Name Type Description from
String The id of the previous block id
String The id of the next block - Source:
- flowchart/js/flowchart.js, line 391
Returns:
void -
start(path)
Starts the chart flow
-
Parameters:
Name Type Description path
String The xml path - Source:
- flowchart/js/flowchart.js, line 358
Returns:
void