A Node is a basic element with a position, radius, and text held within it.
Constructs a Node element at the position (x,y) with radius r containing the string text
Class attribute for the root element.
Style for the root element.
The update function describes how this element should update itself
The controller manages the dependencies between elements. Every element is added to this controller upon creation.
This number uniquely identifes elements
Allows for the events attatched to elements to be disabled.
Getter for the cx of this node.
Getter for cy of this node Getter for cy of this node
Returns the unique generated identifier associated with this element.
Getter for the text of this node Setter for the text of this node
Getter for rx of this node Setter for rx of this node
Getter for ry of this node Setter for ry of this node
Constructs and appends an 'a' (link) within this element.
Declares this element dependent on the provided element(s).
Adds an edge to this node.
Appends the element as a child within this element.
Removes all child elements from this element.
Constructs and appends a clipPath within this element
Returns true if this element contains the argument element.
Returns the number of edges coming out of this node.
Returns the bounding box of this element. Note, this is different from the getBoundingClientRect method since the bounding box is affected by the current viewPort.
If this element's root is not a SVGGraphics element as is the case for the marker, title, and more element, then null is returned instead of a DOMRect.
Inserts the element before the first child within this element.
Removes this element from the DOM and from the Element controller.
Constructs and appends a text element within this element.
Translates this node and all inner elements by x, y.
Updates all of the elements that depend on this element.
Clears the static data structures holding elements and resets the count.
Generated using TypeDoc