-
Notifications
You must be signed in to change notification settings - Fork 0
Model Builder Events
7yl4r edited this page Nov 23, 2014
·
9 revisions
These are the jquery custom event types used by the model builder:
- "selectNode": a new node has been selected for focus.
- "selectNodeChange": selected node has been altered
- "selectNodeChange": normal priority (ALWAYS use this to trigger!!!)
- "selectNodeChange_highP": listeners executed before normal priority listeners
- "selectNodeChange_higherP": executes more firster
- "selectNodeChange_highestP": exectues most firsterest
- "graphChange": connectivity of the model has been altered
- "graphChange": normal priority (ALWAYS trigger with this one)
- e.g. run simulations & make charts
- update texts
- "graphChange_highP": these trigger before normal priority listeners
- e.g. check for multi-node strongly connected components (loops)
- "graphChange_higherP": these trigger before high listeners
- e.g. update underlying model object, draw graph
- "graphChange": normal priority (ALWAYS trigger with this one)
- "modelComplete": all nodes have just been specified (should only fire once)
- "setHelpLevel": sets the level of help to be shown