Class mindmaps.DefaultCanvasView-Creator
Defined in: CanvasView.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
Creates a new Creator.
|
Method Attributes | Method Name and Description |
---|---|
attachToNode(node)
Attaches the tool to a node.
|
|
detach()
Removes the tool from the current node.
|
|
Returns whether the tool is currently in use being dragged.
|
Class Detail
<inner>
mindmaps.DefaultCanvasView-Creator(view)
Creates a new Creator. This tool is used to drag out new branches to
create new nodes.
- Parameters:
- {mindmaps.CanvasView} view
- Returns:
- {Creator}
Method Detail
attachToNode(node)
Attaches the tool to a node.
- Parameters:
- {mindmaps.Node} node
detach()
Removes the tool from the current node.
{Boolean}
isDragging()
Returns whether the tool is currently in use being dragged.
- Returns:
- {Boolean}