321 lines
163 KiB
HTML
321 lines
163 KiB
HTML
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GraphHierarchyNode | @maxgraph/core</title><meta name="description" content="Documentation for @maxgraph/core"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@maxgraph/core</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">@maxgraph/core</a></li><li><a href="GraphHierarchyNode.html">GraphHierarchyNode</a></li></ul><h1>Class GraphHierarchyNode</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>An abstraction of a hierarchical edge for the hierarchy layout</p>
|
|
</div><div><p>Constructor: mxGraphHierarchyNode</p>
|
|
<p>Constructs an internal node to represent the specified real graph cell</p>
|
|
<p>Arguments:</p>
|
|
<p>cell - the real graph cell this node represents</p>
|
|
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="GraphAbstractHierarchyCell.html" class="tsd-signature-type" data-tsd-kind="Class">GraphAbstractHierarchyCell</a><ul class="tsd-hierarchy"><li><span class="target">GraphHierarchyNode</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#cell" class="tsd-kind-icon">cell</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#children" class="tsd-kind-icon">children</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#collapsed" class="tsd-kind-icon">collapsed</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#connectable" class="tsd-kind-icon">connectable</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#connectsAsSource" class="tsd-kind-icon">connects<wbr/>As<wbr/>Source</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#connectsAsTarget" class="tsd-kind-icon">connects<wbr/>As<wbr/>Target</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#edge" class="tsd-kind-icon">edge</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#edges" class="tsd-kind-icon">edges</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#geometry" class="tsd-kind-icon">geometry</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#hashCode" class="tsd-kind-icon">hash<wbr/>Code</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#height" class="tsd-kind-icon">height</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#ids" class="tsd-kind-icon">ids</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#invalidating" class="tsd-kind-icon">invalidating</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#maxRank" class="tsd-kind-icon">max<wbr/>Rank</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#minRank" class="tsd-kind-icon">min<wbr/>Rank</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#mxTransient" class="tsd-kind-icon">mx<wbr/>Transient</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#nextLayerConnectedCells" class="tsd-kind-icon">next<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#onInit" class="tsd-kind-icon">on<wbr/>Init</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#overlays" class="tsd-kind-icon">overlays</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#parent" class="tsd-kind-icon">parent</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#previousLayerConnectedCells" class="tsd-kind-icon">previous<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#source" class="tsd-kind-icon">source</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#style" class="tsd-kind-icon">style</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#swimlaneIndex" class="tsd-kind-icon">swimlane<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#target" class="tsd-kind-icon">target</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#temp" class="tsd-kind-icon">temp</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#value" class="tsd-kind-icon">value</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#vertex" class="tsd-kind-icon">vertex</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#visible" class="tsd-kind-icon">visible</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#width" class="tsd-kind-icon">width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#x" class="tsd-kind-icon">x</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#y" class="tsd-kind-icon">y</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#clone" class="tsd-kind-icon">clone</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#cloneValue" class="tsd-kind-icon">clone<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#filterDescendants" class="tsd-kind-icon">filter<wbr/>Descendants</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getAttribute" class="tsd-kind-icon">get<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildAt" class="tsd-kind-icon">get<wbr/>Child<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildCells" class="tsd-kind-icon">get<wbr/>Child<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildCount" class="tsd-kind-icon">get<wbr/>Child<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildEdges" class="tsd-kind-icon">get<wbr/>Child<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildVertices" class="tsd-kind-icon">get<wbr/>Child<wbr/>Vertices</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildren" class="tsd-kind-icon">get<wbr/>Children</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getConnections" class="tsd-kind-icon">get<wbr/>Connections</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="GraphHierarchyNode.html#getCoreCell" class="tsd-kind-icon">get<wbr/>Core<wbr/>Cell</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getDescendants" class="tsd-kind-icon">get<wbr/>Descendants</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getDirectedEdgeCount" class="tsd-kind-icon">get<wbr/>Directed<wbr/>Edge<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdgeAt" class="tsd-kind-icon">get<wbr/>Edge<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdgeCount" class="tsd-kind-icon">get<wbr/>Edge<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdgeIndex" class="tsd-kind-icon">get<wbr/>Edge<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdges" class="tsd-kind-icon">get<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#getGeneralPurposeVariable" class="tsd-kind-icon">get<wbr/>General<wbr/>Purpose<wbr/>Variable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getGeometry" class="tsd-kind-icon">get<wbr/>Geometry</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getId" class="tsd-kind-icon">get<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getIncomingEdges" class="tsd-kind-icon">get<wbr/>Incoming<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getIndex" class="tsd-kind-icon">get<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getNearestCommonAncestor" class="tsd-kind-icon">get<wbr/>Nearest<wbr/>Common<wbr/>Ancestor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#getNextLayerConnectedCells" class="tsd-kind-icon">get<wbr/>Next<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getOrigin" class="tsd-kind-icon">get<wbr/>Origin</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getOutgoingEdges" class="tsd-kind-icon">get<wbr/>Outgoing<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getParent" class="tsd-kind-icon">get<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#getPreviousLayerConnectedCells" class="tsd-kind-icon">get<wbr/>Previous<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="GraphHierarchyNode.html#getRankValue" class="tsd-kind-icon">get<wbr/>Rank<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getRoot" class="tsd-kind-icon">get<wbr/>Root</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getStyle" class="tsd-kind-icon">get<wbr/>Style</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getTerminal" class="tsd-kind-icon">get<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getValue" class="tsd-kind-icon">get<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getX" class="tsd-kind-icon">getX</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#hasAttribute" class="tsd-kind-icon">has<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#insert" class="tsd-kind-icon">insert</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#insertEdge" class="tsd-kind-icon">insert<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isAncestor" class="tsd-kind-icon">is<wbr/>Ancestor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isCollapsed" class="tsd-kind-icon">is<wbr/>Collapsed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isConnectable" class="tsd-kind-icon">is<wbr/>Connectable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isEdge" class="tsd-kind-icon">is<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#isVertex" class="tsd-kind-icon">is<wbr/>Vertex</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isVisible" class="tsd-kind-icon">is<wbr/>Visible</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#remove" class="tsd-kind-icon">remove</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#removeEdge" class="tsd-kind-icon">remove<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#removeFromParent" class="tsd-kind-icon">remove<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#removeFromTerminal" class="tsd-kind-icon">remove<wbr/>From<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setAttribute" class="tsd-kind-icon">set<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setCollapsed" class="tsd-kind-icon">set<wbr/>Collapsed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setConnectable" class="tsd-kind-icon">set<wbr/>Connectable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setEdge" class="tsd-kind-icon">set<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#setGeneralPurposeVariable" class="tsd-kind-icon">set<wbr/>General<wbr/>Purpose<wbr/>Variable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setGeometry" class="tsd-kind-icon">set<wbr/>Geometry</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setId" class="tsd-kind-icon">set<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setParent" class="tsd-kind-icon">set<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setStyle" class="tsd-kind-icon">set<wbr/>Style</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setTerminal" class="tsd-kind-icon">set<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setValue" class="tsd-kind-icon">set<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setVertex" class="tsd-kind-icon">set<wbr/>Vertex</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setVisible" class="tsd-kind-icon">set<wbr/>Visible</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setX" class="tsd-kind-icon">setX</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setY" class="tsd-kind-icon">setY</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#valueChanged" class="tsd-kind-icon">value<wbr/>Changed</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new <wbr/>Graph<wbr/>Hierarchy<wbr/>Node<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="GraphHierarchyNode.html" class="tsd-signature-type" data-tsd-kind="Class">GraphHierarchyNode</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L24">view/layout/datatypes/GraphHierarchyNode.ts:24</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Class: mxGraphAbstractHierarchyCell</p>
|
|
</div><div><p>An abstraction of an internal hierarchy node or edge</p>
|
|
<p>Constructor: mxGraphAbstractHierarchyCell</p>
|
|
<p>Constructs a new hierarchical layout algorithm.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="GraphHierarchyNode.html" class="tsd-signature-type" data-tsd-kind="Class">GraphHierarchyNode</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cell" class="tsd-anchor"></a><h3>cell</h3><div class="tsd-signature tsd-kind-icon">cell<span class="tsd-signature-symbol">:</span> <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L35">view/layout/datatypes/GraphHierarchyNode.ts:35</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The graph cell this object represents.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="children" class="tsd-anchor"></a><h3>children</h3><div class="tsd-signature tsd-kind-icon">children<span class="tsd-signature-symbol">:</span> <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#children">children</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L160">view/cell/Cell.ts:160</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the child cells.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="collapsed" class="tsd-anchor"></a><h3>collapsed</h3><div class="tsd-signature tsd-kind-icon">collapsed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#collapsed">collapsed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L140">view/cell/Cell.ts:140</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies whether the cell is collapsed. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="connectable" class="tsd-anchor"></a><h3>connectable</h3><div class="tsd-signature tsd-kind-icon">connectable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#connectable">connectable</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L130">view/cell/Cell.ts:130</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies whether the cell is connectable. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="connectsAsSource" class="tsd-anchor"></a><h3>connects<wbr/>As<wbr/>Source</h3><div class="tsd-signature tsd-kind-icon">connects<wbr/>As<wbr/>Source<span class="tsd-signature-symbol">:</span> <a href="GraphHierarchyEdge.html" class="tsd-signature-type" data-tsd-kind="Class">GraphHierarchyEdge</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L55">view/layout/datatypes/GraphHierarchyNode.ts:55</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Collection of hierarchy edges that have this node as a source</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="connectsAsTarget" class="tsd-anchor"></a><h3>connects<wbr/>As<wbr/>Target</h3><div class="tsd-signature tsd-kind-icon">connects<wbr/>As<wbr/>Target<span class="tsd-signature-symbol">:</span> <a href="GraphHierarchyEdge.html" class="tsd-signature-type" data-tsd-kind="Class">GraphHierarchyEdge</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L50">view/layout/datatypes/GraphHierarchyNode.ts:50</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Collection of hierarchy edges that have this node as a target</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="edge" class="tsd-anchor"></a><h3>edge</h3><div class="tsd-signature tsd-kind-icon">edge<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#edge">edge</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L125">view/cell/Cell.ts:125</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies whether the cell is an edge. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="edges" class="tsd-anchor"></a><h3>edges</h3><div class="tsd-signature tsd-kind-icon">edges<span class="tsd-signature-symbol">:</span> <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#edges">edges</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L165">view/cell/Cell.ts:165</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the edges.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="geometry" class="tsd-anchor"></a><h3>geometry</h3><div class="tsd-signature tsd-kind-icon">geometry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Geometry.html" class="tsd-signature-type" data-tsd-kind="Class">Geometry</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#geometry">geometry</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L109">view/cell/Cell.ts:109</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the <a href="Geometry.html">Geometry</a>. Default is null.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="hashCode" class="tsd-anchor"></a><h3>hash<wbr/>Code</h3><div class="tsd-signature tsd-kind-icon">hash<wbr/>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L61">view/layout/datatypes/GraphHierarchyNode.ts:61</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Assigns a unique hashcode for each node. Used by the model dfs instead
|
|
of copying HashSets</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="height" class="tsd-anchor"></a><h3>height</h3><div class="tsd-signature tsd-kind-icon">height<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#height">height</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L40">view/layout/datatypes/GraphAbstractHierarchyCell.ts:40</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The height of this cell. Default is 0.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a id="id" class="tsd-anchor"></a><h3>id</h3><div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L45">view/layout/datatypes/GraphHierarchyNode.ts:45</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The object identity of the wrapped cell</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ids" class="tsd-anchor"></a><h3>ids</h3><div class="tsd-signature tsd-kind-icon">ids<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L40">view/layout/datatypes/GraphHierarchyNode.ts:40</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The object identities of the wrapped cells</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="invalidating" class="tsd-anchor"></a><h3>invalidating</h3><div class="tsd-signature tsd-kind-icon">invalidating<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#invalidating">invalidating</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L89">view/cell/Cell.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="maxRank" class="tsd-anchor"></a><h3>max<wbr/>Rank</h3><div class="tsd-signature tsd-kind-icon">max<wbr/>Rank<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = -1</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#maxRank">maxRank</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L15">view/layout/datatypes/GraphAbstractHierarchyCell.ts:15</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The maximum rank this cell occupies. Default is -1.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="minRank" class="tsd-anchor"></a><h3>min<wbr/>Rank</h3><div class="tsd-signature tsd-kind-icon">min<wbr/>Rank<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = -1</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#minRank">minRank</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L20">view/layout/datatypes/GraphAbstractHierarchyCell.ts:20</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The minimum rank this cell occupies. Default is -1.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="mxTransient" class="tsd-anchor"></a><h3>mx<wbr/>Transient</h3><div class="tsd-signature tsd-kind-icon">mx<wbr/>Transient<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#mxTransient">mxTransient</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L174">view/cell/Cell.ts:174</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>List of members that should not be cloned inside <clone>. This field is
|
|
passed to {@link Utils#clone} and is not made persistent in <CellCodec>.
|
|
This is not a convention for all classes, it is only used in this class
|
|
to mark transient fields since transient modifiers are not supported by
|
|
the language.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="nextLayerConnectedCells" class="tsd-anchor"></a><h3>next<wbr/>Layer<wbr/>Connected<wbr/>Cells</h3><div class="tsd-signature tsd-kind-icon">next<wbr/>Layer<wbr/>Connected<wbr/>Cells<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#nextLayerConnectedCells">nextLayerConnectedCells</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L45">view/layout/datatypes/GraphAbstractHierarchyCell.ts:45</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>A cached version of the cells this cell connects to on the next layer up</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="onInit" class="tsd-anchor"></a><h3>on<wbr/>Init</h3><div class="tsd-signature tsd-kind-icon">on<wbr/>Init<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#onInit">onInit</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L91">view/cell/Cell.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="overlays" class="tsd-anchor"></a><h3>overlays</h3><div class="tsd-signature tsd-kind-icon">overlays<span class="tsd-signature-symbol">:</span> <a href="CellOverlay.html" class="tsd-signature-type" data-tsd-kind="Class">CellOverlay</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#overlays">overlays</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L94">view/cell/Cell.ts:94</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="parent" class="tsd-anchor"></a><h3>parent</h3><div class="tsd-signature tsd-kind-icon">parent<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#parent">parent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L145">view/cell/Cell.ts:145</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the parent cell.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="previousLayerConnectedCells" class="tsd-anchor"></a><h3>previous<wbr/>Layer<wbr/>Connected<wbr/>Cells</h3><div class="tsd-signature tsd-kind-icon">previous<wbr/>Layer<wbr/>Connected<wbr/>Cells<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#previousLayerConnectedCells">previousLayerConnectedCells</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L50">view/layout/datatypes/GraphAbstractHierarchyCell.ts:50</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>A cached version of the cells this cell connects to on the next layer down</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="source" class="tsd-anchor"></a><h3>source</h3><div class="tsd-signature tsd-kind-icon">source<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#source">source</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L150">view/cell/Cell.ts:150</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the source terminal.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="style" class="tsd-anchor"></a><h3>style</h3><div class="tsd-signature tsd-kind-icon">style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#style">style</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L115">view/cell/Cell.ts:115</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the style as a string of the form [(stylename|key=value);]. Default is
|
|
null.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="swimlaneIndex" class="tsd-anchor"></a><h3>swimlane<wbr/>Index</h3><div class="tsd-signature tsd-kind-icon">swimlane<wbr/>Index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#swimlaneIndex">swimlaneIndex</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L10">view/layout/datatypes/GraphAbstractHierarchyCell.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="target" class="tsd-anchor"></a><h3>target</h3><div class="tsd-signature tsd-kind-icon">target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#target">target</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L155">view/cell/Cell.ts:155</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the target terminal.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="temp" class="tsd-anchor"></a><h3>temp</h3><div class="tsd-signature tsd-kind-icon">temp<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#temp">temp</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L60">view/layout/datatypes/GraphAbstractHierarchyCell.ts:60</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Temporary variable for general use. Generally, try to avoid
|
|
carrying information between stages. Currently, the longest
|
|
path layering sets temp to the rank position in fixRanks()
|
|
and the crossing reduction uses this. This meant temp couldn't
|
|
be used for hashing the nodes in the model dfs and so hashCode
|
|
was created</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="value" class="tsd-anchor"></a><h3>value</h3><div class="tsd-signature tsd-kind-icon">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#value">value</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L104">view/cell/Cell.ts:104</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the user object. Default is null.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="vertex" class="tsd-anchor"></a><h3>vertex</h3><div class="tsd-signature tsd-kind-icon">vertex<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#vertex">vertex</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L120">view/cell/Cell.ts:120</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies whether the cell is a vertex. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="visible" class="tsd-anchor"></a><h3>visible</h3><div class="tsd-signature tsd-kind-icon">visible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#visible">visible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L135">view/cell/Cell.ts:135</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies whether the cell is visible. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="width" class="tsd-anchor"></a><h3>width</h3><div class="tsd-signature tsd-kind-icon">width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#width">width</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L35">view/layout/datatypes/GraphAbstractHierarchyCell.ts:35</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The width of this cell. Default is 0.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="x" class="tsd-anchor"></a><h3>x</h3><div class="tsd-signature tsd-kind-icon">x<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#x">x</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L25">view/layout/datatypes/GraphAbstractHierarchyCell.ts:25</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The x position of this cell for each layer it occupies</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="y" class="tsd-anchor"></a><h3>y</h3><div class="tsd-signature tsd-kind-icon">y<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#y">y</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L30">view/layout/datatypes/GraphAbstractHierarchyCell.ts:30</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The y position of this cell for each layer it occupies</p>
|
|
</div></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="clone" class="tsd-anchor"></a><h3>clone</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">clone<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#clone">clone</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L599">view/cell/Cell.ts:599</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns a clone of the cell. Uses <cloneValue> to clone
|
|
the user object. All fields in {@link Transient} are ignored
|
|
during the cloning.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="cloneValue" class="tsd-anchor"></a><h3>clone<wbr/>Value</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">clone<wbr/>Value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#cloneValue">cloneValue</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L608">view/cell/Cell.ts:608</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns a clone of the cell's user object.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="filterDescendants" class="tsd-anchor"></a><h3>filter<wbr/>Descendants</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">filter<wbr/>Descendants<span class="tsd-signature-symbol">(</span>filter<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FilterFunction</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#filterDescendants">filterDescendants</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L846">view/cell/Cell.ts:846</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Visits all cells recursively and applies the specified filter function
|
|
to each cell. If the function returns true then the cell is added
|
|
to the resulting array. The parent and result paramters are optional.
|
|
If parent is not specified then the recursion starts at {@link root}.</p>
|
|
</div><div><p>Example:
|
|
The following example extracts all vertices from a given model:</p>
|
|
<pre><code class="language-javascript"><span class="hl-3">var</span><span class="hl-1"> </span><span class="hl-0">filter</span><span class="hl-1">(cell)</span><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-5">return</span><span class="hl-1"> </span><span class="hl-0">model</span><span class="hl-1">.</span><span class="hl-2">isVertex</span><span class="hl-1">(</span><span class="hl-0">cell</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-3">var</span><span class="hl-1"> </span><span class="hl-0">vertices</span><span class="hl-1"> = </span><span class="hl-0">model</span><span class="hl-1">.</span><span class="hl-2">filterDescendants</span><span class="hl-1">(</span><span class="hl-0">filter</span><span class="hl-1">);</span>
|
|
</code></pre>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>filter: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FilterFunction</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>JavaScript function that takes an <a href="Cell.html">Cell</a> as an argument
|
|
and returns a boolean.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getAttribute" class="tsd-anchor"></a><h3>get<wbr/>Attribute</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Attribute<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, defaultValue<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getAttribute">getAttribute</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L570">view/cell/Cell.ts:570</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the specified attribute from the user object if it is an XML
|
|
node.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> defaultValue: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getChildAt" class="tsd-anchor"></a><h3>get<wbr/>Child<wbr/>At</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Child<wbr/>At<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getChildAt">getChildAt</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L401">view/cell/Cell.ts:401</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the child at the specified index.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getChildCells" class="tsd-anchor"></a><h3>get<wbr/>Child<wbr/>Cells</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Child<wbr/>Cells<span class="tsd-signature-symbol">(</span>vertices<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, edges<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getChildCells">getChildCells</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L696">view/cell/Cell.ts:696</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the children of the given cell that are vertices and/or edges
|
|
depending on the arguments.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>vertices: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean indicating if child vertices should be returned.
|
|
Default is false.</p>
|
|
</div></div></li><li><h5>edges: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean indicating if child edges should be returned.
|
|
Default is false.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getChildCount" class="tsd-anchor"></a><h3>get<wbr/>Child<wbr/>Count</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Child<wbr/>Count<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getChildCount">getChildCount</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L382">view/cell/Cell.ts:382</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the number of child cells.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getChildEdges" class="tsd-anchor"></a><h3>get<wbr/>Child<wbr/>Edges</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Child<wbr/>Edges<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getChildEdges">getChildEdges</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L683">view/cell/Cell.ts:683</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the child edges of the given parent.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getChildVertices" class="tsd-anchor"></a><h3>get<wbr/>Child<wbr/>Vertices</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Child<wbr/>Vertices<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getChildVertices">getChildVertices</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L676">view/cell/Cell.ts:676</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the child vertices of the given parent.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getChildren" class="tsd-anchor"></a><h3>get<wbr/>Children</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Children<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getChildren">getChildren</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L83">view/cell/Cell.ts:83</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getConnections" class="tsd-anchor"></a><h3>get<wbr/>Connections</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Connections<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getConnections">getConnections</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L740">view/cell/Cell.ts:740</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns all edges of the given cell without loops.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCoreCell" class="tsd-anchor"></a><h3>get<wbr/>Core<wbr/>Cell</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Core<wbr/>Cell<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L173">view/layout/datatypes/GraphHierarchyNode.ts:173</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>isAncestor(otherNode: GraphHierarchyNode): boolean {
|
|
// Firstly, the hash code of this node needs to be shorter than the
|
|
// other node
|
|
if (
|
|
otherNode != null &&
|
|
this.hashCode != null &&
|
|
otherNode.hashCode != null &&
|
|
this.hashCode.length < otherNode.hashCode.length
|
|
) {
|
|
if (this.hashCode === otherNode.hashCode) {
|
|
return true;
|
|
}</p>
|
|
</div><div><p>if (this.hashCode == null || this.hashCode == null) {
|
|
return false;
|
|
}</p>
|
|
<p>// Secondly, this hash code must match the start of the other
|
|
// node's hash code. Arrays.equals cannot be used here since
|
|
// the arrays are different length, and we do not want to
|
|
// perform another array copy.
|
|
for (let i = 0; i < this.hashCode.length; i += 1) {
|
|
if (this.hashCode[i] !== otherNode.hashCode[i]) {
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
return false;
|
|
}</p>
|
|
<p>/**
|
|
Gets the core vertex associated with this wrapper</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getDescendants" class="tsd-anchor"></a><h3>get<wbr/>Descendants</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Descendants<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getDescendants">getDescendants</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L823">view/cell/Cell.ts:823</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns all descendants of the given cell and the cell itself in an array.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getDirectedEdgeCount" class="tsd-anchor"></a><h3>get<wbr/>Directed<wbr/>Edge<wbr/>Count</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Directed<wbr/>Edge<wbr/>Count<span class="tsd-signature-symbol">(</span>outgoing<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, ignoredEdge<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getDirectedEdgeCount">getDirectedEdgeCount</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L723">view/cell/Cell.ts:723</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the number of incoming or outgoing edges, ignoring the given
|
|
edge.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>outgoing: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the number of outgoing or
|
|
incoming edges should be returned.</p>
|
|
</div></div></li><li><h5>ignoredEdge: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>that represents an edge to be ignored.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getEdgeAt" class="tsd-anchor"></a><h3>get<wbr/>Edge<wbr/>At</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Edge<wbr/>At<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getEdgeAt">getEdgeAt</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L485">view/cell/Cell.ts:485</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the edge at the specified index in <edges>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getEdgeCount" class="tsd-anchor"></a><h3>get<wbr/>Edge<wbr/>Count</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Edge<wbr/>Count<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getEdgeCount">getEdgeCount</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L467">view/cell/Cell.ts:467</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the number of edges in the edge array.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getEdgeIndex" class="tsd-anchor"></a><h3>get<wbr/>Edge<wbr/>Index</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Edge<wbr/>Index<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getEdgeIndex">getEdgeIndex</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L476">view/cell/Cell.ts:476</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the index of the specified edge in <edges>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getEdges" class="tsd-anchor"></a><h3>get<wbr/>Edges</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Edges<span class="tsd-signature-symbol">(</span>incoming<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, outgoing<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, includeLoops<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getEdges">getEdges</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L771">view/cell/Cell.ts:771</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns all distinct edges connected to this cell as a new array of
|
|
<a href="Cell.html">Cell</a>. If at least one of incoming or outgoing is true, then loops
|
|
are ignored, otherwise if both are false, then all edges connected to
|
|
the given cell are returned including loops.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>incoming: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional boolean that specifies if incoming edges should be
|
|
returned. Default is true.</p>
|
|
</div></div></li><li><h5>outgoing: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional boolean that specifies if outgoing edges should be
|
|
returned. Default is true.</p>
|
|
</div></div></li><li><h5>includeLoops: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional boolean that specifies if loops should be returned.
|
|
Default is true.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="getGeneralPurposeVariable" class="tsd-anchor"></a><h3>get<wbr/>General<wbr/>Purpose<wbr/>Variable</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">get<wbr/>General<wbr/>Purpose<wbr/>Variable<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getGeneralPurposeVariable">getGeneralPurposeVariable</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L127">view/layout/datatypes/GraphHierarchyNode.ts:127</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Gets the value of temp for the specified layer</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getGeometry" class="tsd-anchor"></a><h3>get<wbr/>Geometry</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Geometry<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Geometry.html" class="tsd-signature-type" data-tsd-kind="Class">Geometry</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getGeometry">getGeometry</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L229">view/cell/Cell.ts:229</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the <a href="Geometry.html">Geometry</a> that describes the <geometry>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Geometry.html" class="tsd-signature-type" data-tsd-kind="Class">Geometry</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getId" class="tsd-anchor"></a><h3>get<wbr/>Id</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Id<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getId">getId</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L187">view/cell/Cell.ts:187</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the Id of the cell as a string.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getIncomingEdges" class="tsd-anchor"></a><h3>get<wbr/>Incoming<wbr/>Edges</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Incoming<wbr/>Edges<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getIncomingEdges">getIncomingEdges</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L747">view/cell/Cell.ts:747</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the incoming edges of the given cell without loops.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getIndex" class="tsd-anchor"></a><h3>get<wbr/>Index</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Index<span class="tsd-signature-symbol">(</span>child<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getIndex">getIndex</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L391">view/cell/Cell.ts:391</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the index of the specified child in the child array.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>child: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getNearestCommonAncestor" class="tsd-anchor"></a><h3>get<wbr/>Nearest<wbr/>Common<wbr/>Ancestor</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Nearest<wbr/>Common<wbr/>Ancestor<span class="tsd-signature-symbol">(</span>cell2<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getNearestCommonAncestor">getNearestCommonAncestor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L625">view/cell/Cell.ts:625</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the nearest common ancestor for the specified cells to <code>this</code>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell2: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>that specifies the second cell in the tree.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="getNextLayerConnectedCells" class="tsd-anchor"></a><h3>get<wbr/>Next<wbr/>Layer<wbr/>Connected<wbr/>Cells</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">get<wbr/>Next<wbr/>Layer<wbr/>Connected<wbr/>Cells<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="GraphAbstractHierarchyCell.html" class="tsd-signature-type" data-tsd-kind="Class">GraphAbstractHierarchyCell</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getNextLayerConnectedCells">getNextLayerConnectedCells</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L73">view/layout/datatypes/GraphHierarchyNode.ts:73</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the cells this cell connects to on the next layer up</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="GraphAbstractHierarchyCell.html" class="tsd-signature-type" data-tsd-kind="Class">GraphAbstractHierarchyCell</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getOrigin" class="tsd-anchor"></a><h3>get<wbr/>Origin</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Origin<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getOrigin">getOrigin</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L800">view/cell/Cell.ts:800</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the absolute, accumulated origin for the children inside the
|
|
given parent as an <a href="Point.html">Point</a>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getOutgoingEdges" class="tsd-anchor"></a><h3>get<wbr/>Outgoing<wbr/>Edges</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Outgoing<wbr/>Edges<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getOutgoingEdges">getOutgoingEdges</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L754">view/cell/Cell.ts:754</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the outgoing edges of the given cell without loops.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getParent" class="tsd-anchor"></a><h3>get<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Parent<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getParent">getParent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L339">view/cell/Cell.ts:339</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the cell's parent.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="getPreviousLayerConnectedCells" class="tsd-anchor"></a><h3>get<wbr/>Previous<wbr/>Layer<wbr/>Connected<wbr/>Cells</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">get<wbr/>Previous<wbr/>Layer<wbr/>Connected<wbr/>Cells<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="GraphAbstractHierarchyCell.html" class="tsd-signature-type" data-tsd-kind="Class">GraphAbstractHierarchyCell</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getPreviousLayerConnectedCells">getPreviousLayerConnectedCells</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L97">view/layout/datatypes/GraphHierarchyNode.ts:97</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the cells this cell connects to on the next layer down</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="GraphAbstractHierarchyCell.html" class="tsd-signature-type" data-tsd-kind="Class">GraphAbstractHierarchyCell</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getRankValue" class="tsd-anchor"></a><h3>get<wbr/>Rank<wbr/>Value</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Rank<wbr/>Value<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L66">view/layout/datatypes/GraphHierarchyNode.ts:66</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the integer value of the layer that this node resides in</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getRoot" class="tsd-anchor"></a><h3>get<wbr/>Root</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Root<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getRoot">getRoot</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L869">view/cell/Cell.ts:869</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the root of the model or the topmost parent of the given cell.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getStyle" class="tsd-anchor"></a><h3>get<wbr/>Style</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Style<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getStyle">getStyle</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L243">view/cell/Cell.ts:243</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns a string that describes the <style>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getTerminal" class="tsd-anchor"></a><h3>get<wbr/>Terminal</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Terminal<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getTerminal">getTerminal</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L358">view/cell/Cell.ts:358</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the source or target terminal.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>source: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the source terminal should be
|
|
returned.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getValue" class="tsd-anchor"></a><h3>get<wbr/>Value</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getValue">getValue</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L202">view/cell/Cell.ts:202</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the user object of the cell. The user
|
|
object is stored in <value>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getX" class="tsd-anchor"></a><h3>getX</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">getX<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#getX">getX</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L133">view/layout/datatypes/GraphAbstractHierarchyCell.ts:133</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Gets the value of x on the specified layer</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="hasAttribute" class="tsd-anchor"></a><h3>has<wbr/>Attribute</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">has<wbr/>Attribute<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#hasAttribute">hasAttribute</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L551">view/cell/Cell.ts:551</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the user object is an XML node that contains the given
|
|
attribute.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="insert" class="tsd-anchor"></a><h3>insert</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">insert<span class="tsd-signature-symbol">(</span>child<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#insert">insert</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L415">view/cell/Cell.ts:415</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Inserts the specified child into the child array at the specified index
|
|
and updates the parent reference of the child. If not childIndex is
|
|
specified then the child is appended to the child array. Returns the
|
|
inserted child.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>child: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="insertEdge" class="tsd-anchor"></a><h3>insert<wbr/>Edge</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">insert<wbr/>Edge<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, isOutgoing<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#insertEdge">insertEdge</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L496">view/cell/Cell.ts:496</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Inserts the specified edge into the edge array and returns the edge.
|
|
Will update the respective terminal reference of the edge.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><Cell> to be inserted into the edge array.</p>
|
|
</div></div></li><li><h5>isOutgoing: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the edge is outgoing.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isAncestor" class="tsd-anchor"></a><h3>is<wbr/>Ancestor</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Ancestor<span class="tsd-signature-symbol">(</span>child<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#isAncestor">isAncestor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L665">view/cell/Cell.ts:665</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given parent is an ancestor of the given child. Note
|
|
returns true if child == parent.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>child: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>that specifies the child.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isCollapsed" class="tsd-anchor"></a><h3>is<wbr/>Collapsed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Collapsed<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#isCollapsed">isCollapsed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L323">view/cell/Cell.ts:323</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the cell is collapsed.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isConnectable" class="tsd-anchor"></a><h3>is<wbr/>Connectable</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Connectable<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#isConnectable">isConnectable</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L291">view/cell/Cell.ts:291</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the cell is connectable.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isEdge" class="tsd-anchor"></a><h3>is<wbr/>Edge</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Edge<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#isEdge">isEdge</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L96">view/layout/datatypes/GraphAbstractHierarchyCell.ts:96</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns whether or not this cell is an edge</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="isVertex" class="tsd-anchor"></a><h3>is<wbr/>Vertex</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">is<wbr/>Vertex<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#isVertex">isVertex</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L120">view/layout/datatypes/GraphHierarchyNode.ts:120</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isVisible" class="tsd-anchor"></a><h3>is<wbr/>Visible</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Visible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#isVisible">isVisible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L307">view/cell/Cell.ts:307</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the cell is visibile.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="remove" class="tsd-anchor"></a><h3>remove</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#remove">remove</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L440">view/cell/Cell.ts:440</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Removes the child at the specified index from the child array and
|
|
returns the child that was removed. Will remove the parent reference of
|
|
the child.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="removeEdge" class="tsd-anchor"></a><h3>remove<wbr/>Edge</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Edge<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, isOutgoing<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#removeEdge">removeEdge</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L518">view/cell/Cell.ts:518</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Removes the specified edge from the edge array and returns the edge.
|
|
Will remove the respective terminal reference from the edge.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>isOutgoing: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the edge is outgoing.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="removeFromParent" class="tsd-anchor"></a><h3>remove<wbr/>From<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<wbr/>From<wbr/>Parent<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#removeFromParent">removeFromParent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L457">view/cell/Cell.ts:457</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Removes the cell from its parent.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="removeFromTerminal" class="tsd-anchor"></a><h3>remove<wbr/>From<wbr/>Terminal</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<wbr/>From<wbr/>Terminal<span class="tsd-signature-symbol">(</span>isSource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#removeFromTerminal">removeFromTerminal</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L537">view/cell/Cell.ts:537</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Removes the edge from its source or target terminal.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>isSource: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the edge should be removed from its source or target terminal.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setAttribute" class="tsd-anchor"></a><h3>set<wbr/>Attribute</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Attribute<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setAttribute">setAttribute</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L586">view/cell/Cell.ts:586</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the specified attribute on the user object if it is an XML node.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5></li><li><h5>value: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setCollapsed" class="tsd-anchor"></a><h3>set<wbr/>Collapsed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Collapsed<span class="tsd-signature-symbol">(</span>collapsed<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setCollapsed">setCollapsed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L332">view/cell/Cell.ts:332</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the collapsed state.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>collapsed: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies the new collapsed state.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setConnectable" class="tsd-anchor"></a><h3>set<wbr/>Connectable</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Connectable<span class="tsd-signature-symbol">(</span>connectable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setConnectable">setConnectable</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L300">view/cell/Cell.ts:300</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the connectable state.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>connectable: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies the new connectable state.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setEdge" class="tsd-anchor"></a><h3>set<wbr/>Edge</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Edge<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setEdge">setEdge</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L284">view/cell/Cell.ts:284</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the cell is an edge. This should only be assigned at
|
|
construction of the cell and not be changed during its lifecycle.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the cell is an edge.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="setGeneralPurposeVariable" class="tsd-anchor"></a><h3>set<wbr/>General<wbr/>Purpose<wbr/>Variable</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">set<wbr/>General<wbr/>Purpose<wbr/>Variable<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setGeneralPurposeVariable">setGeneralPurposeVariable</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphHierarchyNode.ts#L134">view/layout/datatypes/GraphHierarchyNode.ts:134</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Set the value of temp for the specified layer</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li><li><h5>value: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setGeometry" class="tsd-anchor"></a><h3>set<wbr/>Geometry</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Geometry<span class="tsd-signature-symbol">(</span>geometry<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Geometry.html" class="tsd-signature-type" data-tsd-kind="Class">Geometry</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setGeometry">setGeometry</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L236">view/cell/Cell.ts:236</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the <a href="Geometry.html">Geometry</a> to be used as the <geometry>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>geometry: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Geometry.html" class="tsd-signature-type" data-tsd-kind="Class">Geometry</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setId" class="tsd-anchor"></a><h3>set<wbr/>Id</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Id<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setId">setId</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L194">view/cell/Cell.ts:194</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the Id of the cell to the given string.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setParent" class="tsd-anchor"></a><h3>set<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Parent<span class="tsd-signature-symbol">(</span>parent<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setParent">setParent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L348">view/cell/Cell.ts:348</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the parent cell.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>parent: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setStyle" class="tsd-anchor"></a><h3>set<wbr/>Style</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Style<span class="tsd-signature-symbol">(</span>style<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setStyle">setStyle</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L250">view/cell/Cell.ts:250</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the string to be used as the <style>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>style: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setTerminal" class="tsd-anchor"></a><h3>set<wbr/>Terminal</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Terminal<span class="tsd-signature-symbol">(</span>terminal<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, isSource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setTerminal">setTerminal</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L369">view/cell/Cell.ts:369</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the source or target terminal and returns the new terminal.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>terminal: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>mxCell that represents the new source or target terminal.</p>
|
|
</div></div></li><li><h5>isSource: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>boolean that specifies if the source or target terminal
|
|
should be set.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setValue" class="tsd-anchor"></a><h3>set<wbr/>Value</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Value<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setValue">setValue</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L210">view/cell/Cell.ts:210</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the user object of the cell. The user object
|
|
is stored in <value>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setVertex" class="tsd-anchor"></a><h3>set<wbr/>Vertex</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Vertex<span class="tsd-signature-symbol">(</span>vertex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setVertex">setVertex</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L267">view/cell/Cell.ts:267</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the cell is a vertex. This should only be assigned at
|
|
construction of the cell and not be changed during its lifecycle.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>vertex: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the cell is a vertex.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setVisible" class="tsd-anchor"></a><h3>set<wbr/>Visible</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Visible<span class="tsd-signature-symbol">(</span>visible<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setVisible">setVisible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L316">view/cell/Cell.ts:316</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the cell is visible.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>visible: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies the new visible state.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setX" class="tsd-anchor"></a><h3>setX</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">setX<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setX">setX</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L122">view/layout/datatypes/GraphAbstractHierarchyCell.ts:122</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Set the value of x for the specified layer</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li><li><h5>value: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setY" class="tsd-anchor"></a><h3>setY</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">setY<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#setY">setY</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/layout/datatypes/GraphAbstractHierarchyCell.ts#L146">view/layout/datatypes/GraphAbstractHierarchyCell.ts:146</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Set the value of y for the specified layer</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>layer: <span class="tsd-signature-type">number</span></h5></li><li><h5>value: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="valueChanged" class="tsd-anchor"></a><h3>value<wbr/>Changed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">value<wbr/>Changed<span class="tsd-signature-symbol">(</span>newValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="GraphAbstractHierarchyCell.html">GraphAbstractHierarchyCell</a>.<a href="GraphAbstractHierarchyCell.html#valueChanged">valueChanged</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/Cell.ts#L220">view/cell/Cell.ts:220</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Changes the user object after an in-place edit
|
|
and returns the previous value. This implementation
|
|
replaces the user object with the given value and
|
|
returns the old user object.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>newValue: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/DomHelpers.html">Dom<wbr/>Helpers</a></li><li class=" tsd-kind-namespace"><a href="../modules/cloneUtils.html">clone<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/constants.html">constants</a></li><li class=" tsd-kind-namespace"><a href="../modules/domUtils.html">dom<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/eventUtils.html">event<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/gestureUtils.html">gesture<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/mathUtils.html">math<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/stringUtils.html">string<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/styleUtils.html">style<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/utils.html">utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/xmlUtils.html">xml<wbr/>Utils</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="GraphHierarchyNode.html" class="tsd-kind-icon">Graph<wbr/>Hierarchy<wbr/>Node</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#cell" class="tsd-kind-icon">cell</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#children" class="tsd-kind-icon">children</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#collapsed" class="tsd-kind-icon">collapsed</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#connectable" class="tsd-kind-icon">connectable</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#connectsAsSource" class="tsd-kind-icon">connects<wbr/>As<wbr/>Source</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#connectsAsTarget" class="tsd-kind-icon">connects<wbr/>As<wbr/>Target</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#edge" class="tsd-kind-icon">edge</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#edges" class="tsd-kind-icon">edges</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#geometry" class="tsd-kind-icon">geometry</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#hashCode" class="tsd-kind-icon">hash<wbr/>Code</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#height" class="tsd-kind-icon">height</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="GraphHierarchyNode.html#ids" class="tsd-kind-icon">ids</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#invalidating" class="tsd-kind-icon">invalidating</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#maxRank" class="tsd-kind-icon">max<wbr/>Rank</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#minRank" class="tsd-kind-icon">min<wbr/>Rank</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#mxTransient" class="tsd-kind-icon">mx<wbr/>Transient</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#nextLayerConnectedCells" class="tsd-kind-icon">next<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#onInit" class="tsd-kind-icon">on<wbr/>Init</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#overlays" class="tsd-kind-icon">overlays</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#parent" class="tsd-kind-icon">parent</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#previousLayerConnectedCells" class="tsd-kind-icon">previous<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#source" class="tsd-kind-icon">source</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#style" class="tsd-kind-icon">style</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#swimlaneIndex" class="tsd-kind-icon">swimlane<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#target" class="tsd-kind-icon">target</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#temp" class="tsd-kind-icon">temp</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#value" class="tsd-kind-icon">value</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#vertex" class="tsd-kind-icon">vertex</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#visible" class="tsd-kind-icon">visible</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#width" class="tsd-kind-icon">width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#x" class="tsd-kind-icon">x</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#y" class="tsd-kind-icon">y</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#clone" class="tsd-kind-icon">clone</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#cloneValue" class="tsd-kind-icon">clone<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#filterDescendants" class="tsd-kind-icon">filter<wbr/>Descendants</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getAttribute" class="tsd-kind-icon">get<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildAt" class="tsd-kind-icon">get<wbr/>Child<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildCells" class="tsd-kind-icon">get<wbr/>Child<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildCount" class="tsd-kind-icon">get<wbr/>Child<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildEdges" class="tsd-kind-icon">get<wbr/>Child<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildVertices" class="tsd-kind-icon">get<wbr/>Child<wbr/>Vertices</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getChildren" class="tsd-kind-icon">get<wbr/>Children</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getConnections" class="tsd-kind-icon">get<wbr/>Connections</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="GraphHierarchyNode.html#getCoreCell" class="tsd-kind-icon">get<wbr/>Core<wbr/>Cell</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getDescendants" class="tsd-kind-icon">get<wbr/>Descendants</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getDirectedEdgeCount" class="tsd-kind-icon">get<wbr/>Directed<wbr/>Edge<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdgeAt" class="tsd-kind-icon">get<wbr/>Edge<wbr/>At</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdgeCount" class="tsd-kind-icon">get<wbr/>Edge<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdgeIndex" class="tsd-kind-icon">get<wbr/>Edge<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getEdges" class="tsd-kind-icon">get<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#getGeneralPurposeVariable" class="tsd-kind-icon">get<wbr/>General<wbr/>Purpose<wbr/>Variable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getGeometry" class="tsd-kind-icon">get<wbr/>Geometry</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getId" class="tsd-kind-icon">get<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getIncomingEdges" class="tsd-kind-icon">get<wbr/>Incoming<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getIndex" class="tsd-kind-icon">get<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getNearestCommonAncestor" class="tsd-kind-icon">get<wbr/>Nearest<wbr/>Common<wbr/>Ancestor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#getNextLayerConnectedCells" class="tsd-kind-icon">get<wbr/>Next<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getOrigin" class="tsd-kind-icon">get<wbr/>Origin</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getOutgoingEdges" class="tsd-kind-icon">get<wbr/>Outgoing<wbr/>Edges</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getParent" class="tsd-kind-icon">get<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#getPreviousLayerConnectedCells" class="tsd-kind-icon">get<wbr/>Previous<wbr/>Layer<wbr/>Connected<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="GraphHierarchyNode.html#getRankValue" class="tsd-kind-icon">get<wbr/>Rank<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getRoot" class="tsd-kind-icon">get<wbr/>Root</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getStyle" class="tsd-kind-icon">get<wbr/>Style</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getTerminal" class="tsd-kind-icon">get<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getValue" class="tsd-kind-icon">get<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#getX" class="tsd-kind-icon">getX</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#hasAttribute" class="tsd-kind-icon">has<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#insert" class="tsd-kind-icon">insert</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#insertEdge" class="tsd-kind-icon">insert<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isAncestor" class="tsd-kind-icon">is<wbr/>Ancestor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isCollapsed" class="tsd-kind-icon">is<wbr/>Collapsed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isConnectable" class="tsd-kind-icon">is<wbr/>Connectable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isEdge" class="tsd-kind-icon">is<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#isVertex" class="tsd-kind-icon">is<wbr/>Vertex</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#isVisible" class="tsd-kind-icon">is<wbr/>Visible</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#remove" class="tsd-kind-icon">remove</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#removeEdge" class="tsd-kind-icon">remove<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#removeFromParent" class="tsd-kind-icon">remove<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#removeFromTerminal" class="tsd-kind-icon">remove<wbr/>From<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setAttribute" class="tsd-kind-icon">set<wbr/>Attribute</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setCollapsed" class="tsd-kind-icon">set<wbr/>Collapsed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setConnectable" class="tsd-kind-icon">set<wbr/>Connectable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setEdge" class="tsd-kind-icon">set<wbr/>Edge</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="GraphHierarchyNode.html#setGeneralPurposeVariable" class="tsd-kind-icon">set<wbr/>General<wbr/>Purpose<wbr/>Variable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setGeometry" class="tsd-kind-icon">set<wbr/>Geometry</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setId" class="tsd-kind-icon">set<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setParent" class="tsd-kind-icon">set<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setStyle" class="tsd-kind-icon">set<wbr/>Style</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setTerminal" class="tsd-kind-icon">set<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setValue" class="tsd-kind-icon">set<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setVertex" class="tsd-kind-icon">set<wbr/>Vertex</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setVisible" class="tsd-kind-icon">set<wbr/>Visible</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setX" class="tsd-kind-icon">setX</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#setY" class="tsd-kind-icon">setY</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="GraphHierarchyNode.html#valueChanged" class="tsd-kind-icon">value<wbr/>Changed</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html> |