Appearance
Ogma.tools.rewire
Rewiring API: functions to manually change the extremities of the selected edges.
ogma.tools.rewire.disable()
Disable the "rewire" tool'.
ogma.tools.rewire.enable([options])
Enable the "rewire" tool, enabling the user to manually change the extremities of the selected edges.
Arguments
- options(optional)
object- color(optional)
Color[="#00C3FF"]Color of the handle in the center of the nodes - cursorOnDrag(optional)
CursorStyle[='grabbing']CSS cursor style when dragging an edge - cursorOnHover(optional)
CursorStyle[='grab']CSS cursor style when hovering a node handle - radius(optional)
number[=7]Radius, in pixels, of the handle in the center of the nodes
- color(optional)
ogma.tools.rewire.enabled()
Returns
-
booleanIndicates if the "rewire" tool is enabled