Max-ChenFei / Chaldene

Jupyter Notebooks with Visual Programming Environment
Other
3 stars 1 forks source link

Scene Actions callbacks #109

Closed Max-ChenFei closed 1 year ago

Max-ChenFei commented 2 years ago
this.onMouse = null;
this.onDrawOverlay = null; //to render foreground objects not affected by transform (for GUIs)
this.onNodeMoved = null; //called after moving a node
this.onSelectionChange = null; //called if the selection changes
this.onConnectingChange = null; //called before any link changes
this.onBeforeChange = null; //called before modifying the graph
this.onAfterChange = null; //called after modifying the graph