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 pathString 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_nameString The event name paramsObject The params passed by the EventDispatcher Properties
Name Type Description fromString The id of the previous block nextString 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 fromString The id of the previous block idString 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 pathString The xml path - Source:
- flowchart/js/flowchart.js, line 358
Returns:
void