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.
Returns the unique generated identifier associated with this element.
Constructs and appends an 'a' (link) within this element.
Declares this element dependent on the provided element(s).
Adds a node at the given location with the given text. radius defaults to 20, 20
Appends the element as a child within this element.
Clears all nodes and all edges from the graph, removes them from the dom.
Constructs and appends a clipPath within this element
Returns true if this element contains the argument element.
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.
Getter for the list of all nodes inside this graph.
Inserts the element before the first child within this element.
Removes this element from the DOM and from the Element controller.
Returns the size of this graph
Constructs and appends a text element within this element.
The tidy algorithm. Assuming a tree for now, pass it the root.
Updates all of the elements that depend on this element.
Clears the static data structures holding elements and resets the count.
Generated using TypeDoc