maxGraph/docs/api/classes/CellRenderer.html

220 lines
96 KiB
HTML

<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>CellRenderer | @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="CellRenderer.html">CellRenderer</a></li></ul><h1>Class CellRenderer</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>Renders cells into a document object model. The <defaultShapes> is a global
map of shapename, constructor pairs that is used in all instances. You can
get a list of all available shape names using the following code.</p>
</div><div><p>In general the cell renderer is in charge of creating, redrawing and
destroying the shape and label associated with a cell state, as well as
some other graphical objects, namely controls and overlays. The shape
hieararchy in the display (ie. the hierarchy in which the DOM nodes
appear in the document) does not reflect the cell hierarchy. The shapes
are a (flat) sequence of shapes and labels inside the draw pane of the
graph view, with some exceptions, namely the HTML labels being placed
directly inside the graph container for certain browsers.</p>
<pre><code class="language-javascript"><span class="hl-0">MaxLog</span><span class="hl-1">.</span><span class="hl-2">show</span><span class="hl-1">();</span><br/><span class="hl-5">for</span><span class="hl-1"> (</span><span class="hl-3">var</span><span class="hl-1"> </span><span class="hl-0">i</span><span class="hl-1"> </span><span class="hl-3">in</span><span class="hl-1"> </span><span class="hl-0">mxCellRenderer</span><span class="hl-1">.</span><span class="hl-0">defaultShapes</span><span class="hl-1">)</span><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-0">MaxLog</span><span class="hl-1">.</span><span class="hl-2">debug</span><span class="hl-1">(</span><span class="hl-0">i</span><span class="hl-1">);</span><br/><span class="hl-1">}</span>
</code></pre>
<p>Constructor: mxCellRenderer</p>
<p>Constructs a new cell renderer with the following built-in shapes:
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder,
swimlane, connector, actor and cloud.</p>
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">CellRenderer</span></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"><a href="CellRenderer.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="CellRenderer.html#antiAlias" class="tsd-kind-icon">anti<wbr/>Alias</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#defaultEdgeShape" class="tsd-kind-icon">default<wbr/>Edge<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#defaultTextShape" class="tsd-kind-icon">default<wbr/>Text<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#defaultVertexShape" class="tsd-kind-icon">default<wbr/>Vertex<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#forceControlClickHandler" class="tsd-kind-icon">force<wbr/>Control<wbr/>Click<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#legacyControlPosition" class="tsd-kind-icon">legacy<wbr/>Control<wbr/>Position</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#legacySpacing" class="tsd-kind-icon">legacy<wbr/>Spacing</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#minSvgStrokeWidth" class="tsd-kind-icon">min<wbr/>Svg<wbr/>Stroke<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="CellRenderer.html#defaultShapes" class="tsd-kind-icon">default<wbr/>Shapes</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"><a href="CellRenderer.html#checkPlaceholderStyles" class="tsd-kind-icon">check<wbr/>Placeholder<wbr/>Styles</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#configureShape" class="tsd-kind-icon">configure<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createCellOverlays" class="tsd-kind-icon">create<wbr/>Cell<wbr/>Overlays</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createControl" class="tsd-kind-icon">create<wbr/>Control</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createControlClickHandler" class="tsd-kind-icon">create<wbr/>Control<wbr/>Click<wbr/>Handler</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createIndicatorShape" class="tsd-kind-icon">create<wbr/>Indicator<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createLabel" class="tsd-kind-icon">create<wbr/>Label</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createShape" class="tsd-kind-icon">create<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#doRedrawShape" class="tsd-kind-icon">do<wbr/>Redraw<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getControlBounds" class="tsd-kind-icon">get<wbr/>Control<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getLabelBounds" class="tsd-kind-icon">get<wbr/>Label<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getLabelValue" class="tsd-kind-icon">get<wbr/>Label<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getShape" class="tsd-kind-icon">get<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getShapeConstructor" class="tsd-kind-icon">get<wbr/>Shape<wbr/>Constructor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getShapesForState" class="tsd-kind-icon">get<wbr/>Shapes<wbr/>For<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getTextScale" class="tsd-kind-icon">get<wbr/>Text<wbr/>Scale</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initControl" class="tsd-kind-icon">init<wbr/>Control</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initializeLabel" class="tsd-kind-icon">initialize<wbr/>Label</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initializeOverlay" class="tsd-kind-icon">initialize<wbr/>Overlay</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initializeShape" class="tsd-kind-icon">initialize<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#insertStateAfter" class="tsd-kind-icon">insert<wbr/>State<wbr/>After</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#installCellOverlayListeners" class="tsd-kind-icon">install<wbr/>Cell<wbr/>Overlay<wbr/>Listeners</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#installListeners" class="tsd-kind-icon">install<wbr/>Listeners</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isLabelEvent" class="tsd-kind-icon">is<wbr/>Label<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isShapeEvent" class="tsd-kind-icon">is<wbr/>Shape<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isShapeInvalid" class="tsd-kind-icon">is<wbr/>Shape<wbr/>Invalid</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isTextShapeInvalid" class="tsd-kind-icon">is<wbr/>Text<wbr/>Shape<wbr/>Invalid</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#postConfigureShape" class="tsd-kind-icon">post<wbr/>Configure<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redraw" class="tsd-kind-icon">redraw</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawCellOverlays" class="tsd-kind-icon">redraw<wbr/>Cell<wbr/>Overlays</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawControl" class="tsd-kind-icon">redraw<wbr/>Control</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawLabel" class="tsd-kind-icon">redraw<wbr/>Label</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawLabelShape" class="tsd-kind-icon">redraw<wbr/>Label<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawShape" class="tsd-kind-icon">redraw<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#resolveColor" class="tsd-kind-icon">resolve<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#rotateLabelBounds" class="tsd-kind-icon">rotate<wbr/>Label<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="CellRenderer.html#registerShape" class="tsd-kind-icon">register<wbr/>Shape</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"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Cell<wbr/>Renderer<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellRenderer.html" class="tsd-signature-type" data-tsd-kind="Class">CellRenderer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="CellRenderer.html" class="tsd-signature-type" data-tsd-kind="Class">CellRenderer</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="antiAlias" class="tsd-anchor"></a><h3>anti<wbr/>Alias</h3><div class="tsd-signature tsd-kind-icon">anti<wbr/>Alias<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L129">view/cell/CellRenderer.ts:129</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Anti-aliasing option for new shapes. Default is true.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="defaultEdgeShape" class="tsd-anchor"></a><h3>default<wbr/>Edge<wbr/>Shape</h3><div class="tsd-signature tsd-kind-icon">default<wbr/>Edge<wbr/>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol"> = ConnectorShape</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L102">view/cell/CellRenderer.ts:102</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Defines the default shape for edges. Default is {@link Connector}.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="defaultTextShape" class="tsd-anchor"></a><h3>default<wbr/>Text<wbr/>Shape</h3><div class="tsd-signature tsd-kind-icon">default<wbr/>Text<wbr/>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</a><span class="tsd-signature-symbol"> = TextShape</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L112">view/cell/CellRenderer.ts:112</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Defines the default shape for labels. Default is {@link Text}.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="defaultVertexShape" class="tsd-anchor"></a><h3>default<wbr/>Vertex<wbr/>Shape</h3><div class="tsd-signature tsd-kind-icon">default<wbr/>Vertex<wbr/>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol"> = RectangleShape</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L107">view/cell/CellRenderer.ts:107</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Defines the default shape for vertices. Default is <a href="RectangleShape.html">RectangleShape</a>.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="forceControlClickHandler" class="tsd-anchor"></a><h3>force<wbr/>Control<wbr/>Click<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">force<wbr/>Control<wbr/>Click<wbr/>Handler<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L140">view/cell/CellRenderer.ts:140</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Specifies if the enabled state of the graph should be ignored in the control
click handler (to allow folding in disabled graphs). Default is false.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="legacyControlPosition" class="tsd-anchor"></a><h3>legacy<wbr/>Control<wbr/>Position</h3><div class="tsd-signature tsd-kind-icon">legacy<wbr/>Control<wbr/>Position<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L118">view/cell/CellRenderer.ts:118</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Specifies if the folding icon should ignore the horizontal
orientation of a swimlane. Default is true.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="legacySpacing" class="tsd-anchor"></a><h3>legacy<wbr/>Spacing</h3><div class="tsd-signature tsd-kind-icon">legacy<wbr/>Spacing<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L124">view/cell/CellRenderer.ts:124</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Specifies if spacing and label position should be ignored if overflow is
fill or width. Default is true for backwards compatiblity.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="minSvgStrokeWidth" class="tsd-anchor"></a><h3>min<wbr/>Svg<wbr/>Stroke<wbr/>Width</h3><div class="tsd-signature tsd-kind-icon">min<wbr/>Svg<wbr/>Stroke<wbr/>Width<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L134">view/cell/CellRenderer.ts:134</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Minimum stroke width for SVG output.</p>
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="defaultShapes" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> default<wbr/>Shapes</h3><div class="tsd-signature tsd-kind-icon">default<wbr/>Shapes<span class="tsd-signature-symbol">:</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/cell/CellRenderer.ts#L96">view/cell/CellRenderer.ts:96</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Static array that contains the globally registered shapes which are
known to all instances of this class. For adding new shapes you should
use the static {@link CellRenderer#registerShape} function.</p>
</div></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-index-signature"><h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h5></li></ul></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"><a id="checkPlaceholderStyles" class="tsd-anchor"></a><h3>check<wbr/>Placeholder<wbr/>Styles</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">check<wbr/>Placeholder<wbr/>Styles<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L266">view/cell/CellRenderer.ts:266</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Resolves special keywords &#39;inherit&#39;, &#39;indicated&#39; and &#39;swimlane&#39; and sets
the respective color on the shape.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></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"><a id="configureShape" class="tsd-anchor"></a><h3>configure<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">configure<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L229">view/cell/CellRenderer.ts:229</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Configures the shape for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the shape should be configured.</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"><a id="createCellOverlays" class="tsd-anchor"></a><h3>create<wbr/>Cell<wbr/>Overlays</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Cell<wbr/>Overlays<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L486">view/cell/CellRenderer.ts:486</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates the actual shape for showing the overlay for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the overlay should be created.</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"><a id="createControl" class="tsd-anchor"></a><h3>create<wbr/>Control</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Control<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L574">view/cell/CellRenderer.ts:574</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates the control for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the control should be created.</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"><a id="createControlClickHandler" class="tsd-anchor"></a><h3>create<wbr/>Control<wbr/>Click<wbr/>Handler</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Control<wbr/>Click<wbr/>Handler<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</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/cell/CellRenderer.ts#L603">view/cell/CellRenderer.ts:603</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Hook for creating the click handler for the folding icon.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose control click handler should be returned.</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</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"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>evt: <span class="tsd-signature-type">Event</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createIndicatorShape" class="tsd-anchor"></a><h3>create<wbr/>Indicator<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Indicator<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L197">view/cell/CellRenderer.ts:197</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates the indicator shape for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the indicator shape should be created.</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"><a id="createLabel" class="tsd-anchor"></a><h3>create<wbr/>Label</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Label<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, value<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L361">view/cell/CellRenderer.ts:361</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates the label for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the label should be created.</p>
</div></div></li><li><h5>value: <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"><a id="createShape" class="tsd-anchor"></a><h3>create<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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/cell/CellRenderer.ts#L175">view/cell/CellRenderer.ts:175</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Creates and returns the shape for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the shape should be created.</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="destroy" class="tsd-anchor"></a><h3>destroy</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1490">view/cell/CellRenderer.ts:1490</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Destroys the shapes associated with the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the shapes should be destroyed.</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"><a id="doRedrawShape" class="tsd-anchor"></a><h3>do<wbr/>Redraw<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">do<wbr/>Redraw<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1468">view/cell/CellRenderer.ts:1468</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Invokes redraw on the shape of the given state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><a id="getControlBounds" class="tsd-anchor"></a><h3>get<wbr/>Control<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Control<wbr/>Bounds<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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/cell/CellRenderer.ts#L1187">view/cell/CellRenderer.ts:1187</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the bounds to be used to draw the control (folding icon) of the
given state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <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="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLabelBounds" class="tsd-anchor"></a><h3>get<wbr/>Label<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Label<wbr/>Bounds<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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/cell/CellRenderer.ts#L963">view/cell/CellRenderer.ts:963</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the bounds to be used to draw the label of the given state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label bounds should be returned.</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getLabelValue" class="tsd-anchor"></a><h3>get<wbr/>Label<wbr/>Value</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Label<wbr/>Value<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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><span class="tsd-signature-type">string</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/cell/CellRenderer.ts#L351">view/cell/CellRenderer.ts:351</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the value to be used for the label.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the label should be created.</p>
</div></div></li></ul><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"><a id="getShape" class="tsd-anchor"></a><h3>get<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Shape<span class="tsd-signature-symbol">(</span>name<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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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/cell/CellRenderer.ts#L206">view/cell/CellRenderer.ts:206</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the shape for the given name from <defaultShapes>.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getShapeConstructor" class="tsd-anchor"></a><h3>get<wbr/>Shape<wbr/>Constructor</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Shape<wbr/>Constructor<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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/cell/CellRenderer.ts#L213">view/cell/CellRenderer.ts:213</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the constructor to be used for creating the shape.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getShapesForState" class="tsd-anchor"></a><h3>get<wbr/>Shapes<wbr/>For<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Shapes<wbr/>For<wbr/>State<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><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="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">]</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/cell/CellRenderer.ts#L1330">view/cell/CellRenderer.ts:1330</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the {@link Shapes} for the given cell state in the order in which they should
appear in the DOM.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose shapes should be returned.</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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="getTextScale" class="tsd-anchor"></a><h3>get<wbr/>Text<wbr/>Scale</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Text<wbr/>Scale<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L954">view/cell/CellRenderer.ts:954</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns the scaling used for the label of the given state</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label scale should be returned.</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"><a id="initControl" class="tsd-anchor"></a><h3>init<wbr/>Control</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">init<wbr/>Control<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, control<span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a>, handleEvents<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, clickHandler<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventListener</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">Element</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/cell/CellRenderer.ts#L623">view/cell/CellRenderer.ts:623</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Initializes the given control and returns the corresponding DOM node.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the control should be initialized.</p>
</div></div></li><li><h5>control: <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><a href="Shape.html">Shape</a> to be initialized.</p>
</div></div></li><li><h5>handleEvents: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Boolean indicating if mousedown and mousemove should fire events via the graph.</p>
</div></div></li><li><h5>clickHandler: <span class="tsd-signature-type">EventListener</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Optional function to implement clicks on the control.</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Element</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="initializeLabel" class="tsd-anchor"></a><h3>initialize<wbr/>Label</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">initialize<wbr/>Label<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, shape<span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L472">view/cell/CellRenderer.ts:472</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Initiailzes the label with a suitable container.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label should be initialized.</p>
</div></div></li><li><h5>shape: <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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"><a id="initializeOverlay" class="tsd-anchor"></a><h3>initialize<wbr/>Overlay</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">initialize<wbr/>Overlay<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, overlay<span class="tsd-signature-symbol">: </span><a href="ImageShape.html" class="tsd-signature-type" data-tsd-kind="Class">ImageShape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L526">view/cell/CellRenderer.ts:526</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Initializes the given overlay.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the overlay should be created.</p>
</div></div></li><li><h5>overlay: <a href="ImageShape.html" class="tsd-signature-type" data-tsd-kind="Class">ImageShape</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><a href="ImageShape.html">ImageShape</a> that represents the overlay.</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"><a id="initializeShape" class="tsd-anchor"></a><h3>initialize<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">initialize<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L162">view/cell/CellRenderer.ts:162</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Initializes the shape in the given state by calling its init method with
the correct container after configuring it using <configureShape>.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the shape should be initialized.</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"><a id="insertStateAfter" class="tsd-anchor"></a><h3>insert<wbr/>State<wbr/>After</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">insert<wbr/>State<wbr/>After<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span>, htmlNode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span><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">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</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/cell/CellRenderer.ts#L1252">view/cell/CellRenderer.ts:1252</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Inserts the given array of {@link Shapes} after the given nodes in the DOM.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>node: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Node in <drawPane> after which the shapes should be inserted.</p>
</div></div></li><li><h5>htmlNode: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Node in the graph container after which the shapes should be inserted that
will not go into the <drawPane> (eg. HTML labels without foreignObjects).</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span><span class="tsd-signature-symbol">)</span><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="installCellOverlayListeners" class="tsd-anchor"></a><h3>install<wbr/>Cell<wbr/>Overlay<wbr/>Listeners</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">install<wbr/>Cell<wbr/>Overlay<wbr/>Listeners<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, overlay<span class="tsd-signature-symbol">: </span><a href="CellOverlay.html" class="tsd-signature-type" data-tsd-kind="Class">CellOverlay</a>, shape<span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L534">view/cell/CellRenderer.ts:534</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Installs the listeners for the given <CellState>, <CellOverlay> and
<a href="Shape.html">Shape</a> that represents the overlay.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>overlay: <a href="CellOverlay.html" class="tsd-signature-type" data-tsd-kind="Class">CellOverlay</a></h5></li><li><h5>shape: <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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"><a id="installListeners" class="tsd-anchor"></a><h3>install<wbr/>Listeners</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">install<wbr/>Listeners<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L736">view/cell/CellRenderer.ts:736</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Installs the event listeners for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the event listeners should be isntalled.</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"><a id="isLabelEvent" class="tsd-anchor"></a><h3>is<wbr/>Label<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Label<wbr/>Event<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L727">view/cell/CellRenderer.ts:727</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns true if the event is for the label of the given state. This
implementation always returns true.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label fired the event.</p>
</div></div></li><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Mouse event which was fired.</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"><a id="isShapeEvent" class="tsd-anchor"></a><h3>is<wbr/>Shape<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Shape<wbr/>Event<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L716">view/cell/CellRenderer.ts:716</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns true if the event is for the shape of the given state. This
implementation always returns true.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose shape fired the event.</p>
</div></div></li><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Mouse event which was fired.</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"><a id="isShapeInvalid" class="tsd-anchor"></a><h3>is<wbr/>Shape<wbr/>Invalid</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Shape<wbr/>Invalid<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, shape<span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1475">view/cell/CellRenderer.ts:1475</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns true if the given shape must be repainted.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>shape: <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></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"><a id="isTextShapeInvalid" class="tsd-anchor"></a><h3>is<wbr/>Text<wbr/>Shape<wbr/>Invalid</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Text<wbr/>Shape<wbr/>Invalid<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, shape<span class="tsd-signature-symbol">: </span><a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L897">view/cell/CellRenderer.ts:897</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns true if the style for the text shape has changed.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label should be checked.</p>
</div></div></li><li><h5>shape: <a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>{@link Text} shape to be checked.</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"><a id="postConfigureShape" class="tsd-anchor"></a><h3>post<wbr/>Configure<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">post<wbr/>Configure<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L252">view/cell/CellRenderer.ts:252</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Replaces any reserved words used for attributes, eg. inherit,
indicated or swimlane for colors in the shape for the given state.
This implementation resolves these keywords on the fill, stroke
and gradient color keys.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><a id="redraw" class="tsd-anchor"></a><h3>redraw</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, force<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, rendering<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1346">view/cell/CellRenderer.ts:1346</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Updates the bounds or points and scale of the shapes for the given cell
state. This is called in mxGraphView.validatePoints as the last step of
updating all cells.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> for which the shapes should be updated.</p>
</div></div></li><li><h5>force: <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>Optional boolean that specifies if the cell should be reconfiured
and redrawn without any additional checks.</p>
</div></div></li><li><h5>rendering: <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 the cell should actually
be drawn into the DOM. If this is false then redraw and/or reconfigure
will not be called on the shape.</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"><a id="redrawCellOverlays" class="tsd-anchor"></a><h3>redraw<wbr/>Cell<wbr/>Overlays</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Cell<wbr/>Overlays<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, forced<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1106">view/cell/CellRenderer.ts:1106</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Redraws the overlays for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose overlays should be redrawn.</p>
</div></div></li><li><h5>forced: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</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"><a id="redrawControl" class="tsd-anchor"></a><h3>redraw<wbr/>Control</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Control<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, forced<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1157">view/cell/CellRenderer.ts:1157</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Redraws the control for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose control should be redrawn.</p>
</div></div></li><li><h5>forced: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</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"><a id="redrawLabel" class="tsd-anchor"></a><h3>redraw<wbr/>Label</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Label<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, forced<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L813">view/cell/CellRenderer.ts:813</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Redraws the label for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label should be redrawn.</p>
</div></div></li><li><h5>forced: <span class="tsd-signature-type">boolean</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"><a id="redrawLabelShape" class="tsd-anchor"></a><h3>redraw<wbr/>Label<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Label<wbr/>Shape<span class="tsd-signature-symbol">(</span>shape<span class="tsd-signature-symbol">: </span><a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L945">view/cell/CellRenderer.ts:945</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Called to invoked redraw on the given text shape.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>shape: <a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>{@link Text} shape to be redrawn.</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"><a id="redrawShape" class="tsd-anchor"></a><h3>redraw<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Shape<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, force<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, rendering<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">boolean</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/cell/CellRenderer.ts#L1361">view/cell/CellRenderer.ts:1361</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Redraws the shape for the given cell state.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label should be redrawn.</p>
</div></div></li><li><h5>force: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li><li><h5>rendering: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</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"><a id="resolveColor" class="tsd-anchor"></a><h3>resolve<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">resolve<wbr/>Color<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, key<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L290">view/cell/CellRenderer.ts:290</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Resolves special keywords &#39;inherit&#39;, &#39;indicated&#39; and &#39;swimlane&#39; and sets
the respective color on the shape.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>field: <span class="tsd-signature-type">string</span></h5></li><li><h5>key: <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"><a id="rotateLabelBounds" class="tsd-anchor"></a><h3>rotate<wbr/>Label<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">rotate<wbr/>Label<wbr/>Bounds<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, bounds<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L1038">view/cell/CellRenderer.ts:1038</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Adds the shape rotation to the given label bounds and
applies the alignment and offsets.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><CellState> whose label bounds should be rotated.</p>
</div></div></li><li><h5>bounds: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p><a href="Rectangle.html">Rectangle</a> the rectangle to be rotated.</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-static"><a id="registerShape" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> register<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon">register<wbr/>Shape<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, shape<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellRenderer.ts#L152">view/cell/CellRenderer.ts:152</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Registers the given constructor under the specified key in this instance of the renderer.</p>
</div><dl class="tsd-comment-tags"><dt>example</dt><dd><pre><code><span class="hl-0">mxCellRenderer</span><span class="hl-1">.</span><span class="hl-2">registerShape</span><span class="hl-1">(</span><span class="hl-0">mxConstants</span><span class="hl-1">.</span><span class="hl-7">SHAPE_RECTANGLE</span><span class="hl-1">, </span><span class="hl-0">mxRectangleShape</span><span class="hl-1">);</span>
</code></pre>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>the shape name.</p>
</div></div></li><li><h5>shape: <span class="tsd-signature-symbol">typeof </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>constructor of the <a href="Shape.html">Shape</a> subclass.</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</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="CellRenderer.html" class="tsd-kind-icon">Cell<wbr/>Renderer</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="CellRenderer.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#antiAlias" class="tsd-kind-icon">anti<wbr/>Alias</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#defaultEdgeShape" class="tsd-kind-icon">default<wbr/>Edge<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#defaultTextShape" class="tsd-kind-icon">default<wbr/>Text<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#defaultVertexShape" class="tsd-kind-icon">default<wbr/>Vertex<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#forceControlClickHandler" class="tsd-kind-icon">force<wbr/>Control<wbr/>Click<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#legacyControlPosition" class="tsd-kind-icon">legacy<wbr/>Control<wbr/>Position</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#legacySpacing" class="tsd-kind-icon">legacy<wbr/>Spacing</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellRenderer.html#minSvgStrokeWidth" class="tsd-kind-icon">min<wbr/>Svg<wbr/>Stroke<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="CellRenderer.html#defaultShapes" class="tsd-kind-icon">default<wbr/>Shapes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#checkPlaceholderStyles" class="tsd-kind-icon">check<wbr/>Placeholder<wbr/>Styles</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#configureShape" class="tsd-kind-icon">configure<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createCellOverlays" class="tsd-kind-icon">create<wbr/>Cell<wbr/>Overlays</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createControl" class="tsd-kind-icon">create<wbr/>Control</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createControlClickHandler" class="tsd-kind-icon">create<wbr/>Control<wbr/>Click<wbr/>Handler</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createIndicatorShape" class="tsd-kind-icon">create<wbr/>Indicator<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createLabel" class="tsd-kind-icon">create<wbr/>Label</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#createShape" class="tsd-kind-icon">create<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#doRedrawShape" class="tsd-kind-icon">do<wbr/>Redraw<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getControlBounds" class="tsd-kind-icon">get<wbr/>Control<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getLabelBounds" class="tsd-kind-icon">get<wbr/>Label<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getLabelValue" class="tsd-kind-icon">get<wbr/>Label<wbr/>Value</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getShape" class="tsd-kind-icon">get<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getShapeConstructor" class="tsd-kind-icon">get<wbr/>Shape<wbr/>Constructor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getShapesForState" class="tsd-kind-icon">get<wbr/>Shapes<wbr/>For<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#getTextScale" class="tsd-kind-icon">get<wbr/>Text<wbr/>Scale</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initControl" class="tsd-kind-icon">init<wbr/>Control</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initializeLabel" class="tsd-kind-icon">initialize<wbr/>Label</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initializeOverlay" class="tsd-kind-icon">initialize<wbr/>Overlay</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#initializeShape" class="tsd-kind-icon">initialize<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#insertStateAfter" class="tsd-kind-icon">insert<wbr/>State<wbr/>After</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#installCellOverlayListeners" class="tsd-kind-icon">install<wbr/>Cell<wbr/>Overlay<wbr/>Listeners</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#installListeners" class="tsd-kind-icon">install<wbr/>Listeners</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isLabelEvent" class="tsd-kind-icon">is<wbr/>Label<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isShapeEvent" class="tsd-kind-icon">is<wbr/>Shape<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isShapeInvalid" class="tsd-kind-icon">is<wbr/>Shape<wbr/>Invalid</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#isTextShapeInvalid" class="tsd-kind-icon">is<wbr/>Text<wbr/>Shape<wbr/>Invalid</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#postConfigureShape" class="tsd-kind-icon">post<wbr/>Configure<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redraw" class="tsd-kind-icon">redraw</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawCellOverlays" class="tsd-kind-icon">redraw<wbr/>Cell<wbr/>Overlays</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawControl" class="tsd-kind-icon">redraw<wbr/>Control</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawLabel" class="tsd-kind-icon">redraw<wbr/>Label</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawLabelShape" class="tsd-kind-icon">redraw<wbr/>Label<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#redrawShape" class="tsd-kind-icon">redraw<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#resolveColor" class="tsd-kind-icon">resolve<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellRenderer.html#rotateLabelBounds" class="tsd-kind-icon">rotate<wbr/>Label<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="CellRenderer.html#registerShape" class="tsd-kind-icon">register<wbr/>Shape</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>