2834 lines
143 KiB
HTML
2834 lines
143 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>mxGraph: com.mxgraph.mxGraphModel Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">mxGraph
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a></li><li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html">mxGraphModel</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#properties">Properties</a> |
|
|
<a href="#events">Events</a> |
|
|
<a href="classcom_1_1mxgraph_1_1mxGraphModel-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxGraphModel Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure.
|
|
<a href="classcom_1_1mxgraph_1_1mxGraphModel.html#details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com.mxgraph.mxGraphModel:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="classcom_1_1mxgraph_1_1mxGraphModel.png" usemap="#com.mxgraph.mxGraphModel_map" alt=""/>
|
|
<map id="com.mxgraph.mxGraphModel_map" name="com.mxgraph.mxGraphModel_map">
|
|
<area href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html" title="Defines the requirements for a graph model to be used with mxGraph. " alt="com.mxgraph.mxIGraphModel" shape="rect" coords="0,0,179,24"/>
|
|
</map>
|
|
</div></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ae760e20b9ce840c08f90deae90a3abcd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae760e20b9ce840c08f90deae90a3abcd">mxGraphModel</a> ()</td></tr>
|
|
<tr class="memdesc:ae760e20b9ce840c08f90deae90a3abcd"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new empty graph model. <a href="#ae760e20b9ce840c08f90deae90a3abcd">More...</a><br/></td></tr>
|
|
<tr class="separator:ae760e20b9ce840c08f90deae90a3abcd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7d2deede605768c92ba7104fedb23510"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a7d2deede605768c92ba7104fedb23510">mxGraphModel</a> (Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a80296b5b88a8341cb9a5a6f0514b00e4">root</a>)</td></tr>
|
|
<tr class="memdesc:a7d2deede605768c92ba7104fedb23510"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new graph model. If no root is specified then a new root <a class="el" href="classcom_1_1mxgraph_1_1mxCell.html" title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a> with a default layer is created. <a href="#a7d2deede605768c92ba7104fedb23510">More...</a><br/></td></tr>
|
|
<tr class="separator:a7d2deede605768c92ba7104fedb23510"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a69fca8fb814fb7de26763be0b4b19e34"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a69fca8fb814fb7de26763be0b4b19e34">Clear</a> ()</td></tr>
|
|
<tr class="memdesc:a69fca8fb814fb7de26763be0b4b19e34"><td class="mdescLeft"> </td><td class="mdescRight">Sets a new root using createRoot. <a href="#a69fca8fb814fb7de26763be0b4b19e34">More...</a><br/></td></tr>
|
|
<tr class="separator:a69fca8fb814fb7de26763be0b4b19e34"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a077a93f5e8a19b1c8305bc1c1355550e"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a077a93f5e8a19b1c8305bc1c1355550e">CreateRoot</a> ()</td></tr>
|
|
<tr class="memdesc:a077a93f5e8a19b1c8305bc1c1355550e"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new root cell with a default layer (child 0). <a href="#a077a93f5e8a19b1c8305bc1c1355550e">More...</a><br/></td></tr>
|
|
<tr class="separator:a077a93f5e8a19b1c8305bc1c1355550e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afb94574030d54696aa0f1ce668141913"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#afb94574030d54696aa0f1ce668141913">GetCell</a> (string id)</td></tr>
|
|
<tr class="separator:afb94574030d54696aa0f1ce668141913"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac36af210b1b3159dc187dd5fbb298e19"><td class="memItemLeft" align="right" valign="top">Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ac36af210b1b3159dc187dd5fbb298e19">CloneCells</a> (Object[] <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a0a24b807cfff58dff8069fe2e1f38254">cells</a>, bool includeChildren)</td></tr>
|
|
<tr class="memdesc:ac36af210b1b3159dc187dd5fbb298e19"><td class="mdescLeft"> </td><td class="mdescRight">Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. <a href="#ac36af210b1b3159dc187dd5fbb298e19">More...</a><br/></td></tr>
|
|
<tr class="separator:ac36af210b1b3159dc187dd5fbb298e19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2257ccb14a06d8e83af26a2b04825b80"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a2257ccb14a06d8e83af26a2b04825b80">IsAncestor</a> (Object parent, Object child)</td></tr>
|
|
<tr class="memdesc:a2257ccb14a06d8e83af26a2b04825b80"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given parent is an ancestor of child. <a href="#a2257ccb14a06d8e83af26a2b04825b80">More...</a><br/></td></tr>
|
|
<tr class="separator:a2257ccb14a06d8e83af26a2b04825b80"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a30cbb76e0bf39460796f494fdbfb2d17"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a30cbb76e0bf39460796f494fdbfb2d17">Contains</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a30cbb76e0bf39460796f494fdbfb2d17"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the model contains the given cell. <a href="#a30cbb76e0bf39460796f494fdbfb2d17">More...</a><br/></td></tr>
|
|
<tr class="separator:a30cbb76e0bf39460796f494fdbfb2d17"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51a36648daf6c29ebbf4e88933bc82b8"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a51a36648daf6c29ebbf4e88933bc82b8">GetParent</a> (Object child)</td></tr>
|
|
<tr class="memdesc:a51a36648daf6c29ebbf4e88933bc82b8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent of the given cell. <a href="#a51a36648daf6c29ebbf4e88933bc82b8">More...</a><br/></td></tr>
|
|
<tr class="separator:a51a36648daf6c29ebbf4e88933bc82b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae8904c4103503bc620ba3ec8dd0892ca"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae8904c4103503bc620ba3ec8dd0892ca">Add</a> (Object parent, Object child, int index)</td></tr>
|
|
<tr class="memdesc:ae8904c4103503bc620ba3ec8dd0892ca"><td class="mdescLeft"> </td><td class="mdescRight">Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. <a href="#ae8904c4103503bc620ba3ec8dd0892ca">More...</a><br/></td></tr>
|
|
<tr class="separator:ae8904c4103503bc620ba3ec8dd0892ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9575f6cbec5289df808e8071d77a9665"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a9575f6cbec5289df808e8071d77a9665">CreateId</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a9575f6cbec5289df808e8071d77a9665"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new Id for the given cell and increments the global counter for creating new Ids. <a href="#a9575f6cbec5289df808e8071d77a9665">More...</a><br/></td></tr>
|
|
<tr class="separator:a9575f6cbec5289df808e8071d77a9665"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee6bf0e1bc6eb7045c543d13611cf3dd"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aee6bf0e1bc6eb7045c543d13611cf3dd">Remove</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:aee6bf0e1bc6eb7045c543d13611cf3dd"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdfefab19b882fcaa4e51e146b70014b" title="Removes the specified cell from the model. This operation will remove the cell and all of its childre...">com.mxgraph.mxIGraphModel.Remove(Object)</a> <a href="#aee6bf0e1bc6eb7045c543d13611cf3dd">More...</a><br/></td></tr>
|
|
<tr class="separator:aee6bf0e1bc6eb7045c543d13611cf3dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a83223523565c8d883a4e771d4a23f498"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a83223523565c8d883a4e771d4a23f498">GetChildCount</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a83223523565c8d883a4e771d4a23f498"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of children in the given cell. <a href="#a83223523565c8d883a4e771d4a23f498">More...</a><br/></td></tr>
|
|
<tr class="separator:a83223523565c8d883a4e771d4a23f498"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a887f7e219f4eb298f7aad502a3091f89"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a887f7e219f4eb298f7aad502a3091f89">GetChildAt</a> (Object parent, int index)</td></tr>
|
|
<tr class="memdesc:a887f7e219f4eb298f7aad502a3091f89"><td class="mdescLeft"> </td><td class="mdescRight">Returns the child of the given parent at the given index. <a href="#a887f7e219f4eb298f7aad502a3091f89">More...</a><br/></td></tr>
|
|
<tr class="separator:a887f7e219f4eb298f7aad502a3091f89"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a339d1951aeaddcfff04414472faa36a3"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a339d1951aeaddcfff04414472faa36a3">GetTerminal</a> (Object edge, bool isSource)</td></tr>
|
|
<tr class="memdesc:a339d1951aeaddcfff04414472faa36a3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the source or target terminal of the given edge depending on the value of the boolean parameter. <a href="#a339d1951aeaddcfff04414472faa36a3">More...</a><br/></td></tr>
|
|
<tr class="separator:a339d1951aeaddcfff04414472faa36a3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aae517f6ae9e0dbb8fa59a63636c2d725"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aae517f6ae9e0dbb8fa59a63636c2d725">SetTerminal</a> (Object edge, Object terminal, bool isSource)</td></tr>
|
|
<tr class="memdesc:aae517f6ae9e0dbb8fa59a63636c2d725"><td class="mdescLeft"> </td><td class="mdescRight">Sets the source or target terminal of the given edge using. <a href="#aae517f6ae9e0dbb8fa59a63636c2d725">More...</a><br/></td></tr>
|
|
<tr class="separator:aae517f6ae9e0dbb8fa59a63636c2d725"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af8db42fb432eefd92ba93dd3cdaa9b89"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#af8db42fb432eefd92ba93dd3cdaa9b89">UpdateEdgeParents</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:af8db42fb432eefd92ba93dd3cdaa9b89"><td class="mdescLeft"> </td><td class="mdescRight">Updates the parents of the edges connected to the given cell and all its descendants so that each edge is contained in the nearest common ancestor. <a href="#af8db42fb432eefd92ba93dd3cdaa9b89">More...</a><br/></td></tr>
|
|
<tr class="separator:af8db42fb432eefd92ba93dd3cdaa9b89"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac6b38204777758455270e98e43777256"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ac6b38204777758455270e98e43777256">UpdateEdgeParents</a> (Object cell, Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a80296b5b88a8341cb9a5a6f0514b00e4">root</a>)</td></tr>
|
|
<tr class="memdesc:ac6b38204777758455270e98e43777256"><td class="mdescLeft"> </td><td class="mdescRight">Updates the parents of the edges connected to the given cell and all its descendants so that the edge is contained in the nearest-common-ancestor. <a href="#ac6b38204777758455270e98e43777256">More...</a><br/></td></tr>
|
|
<tr class="separator:ac6b38204777758455270e98e43777256"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a06e516f7be32d17847bae68475caa892"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a06e516f7be32d17847bae68475caa892">UpdateEdgeParent</a> (Object edge, Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a80296b5b88a8341cb9a5a6f0514b00e4">root</a>)</td></tr>
|
|
<tr class="memdesc:a06e516f7be32d17847bae68475caa892"><td class="mdescLeft"> </td><td class="mdescRight">Inner helper method to update the parent of the specified edge to the nearest-common-ancestor of its two terminals. <a href="#a06e516f7be32d17847bae68475caa892">More...</a><br/></td></tr>
|
|
<tr class="separator:a06e516f7be32d17847bae68475caa892"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a308bbb16016634b65ebe432747af6798"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a308bbb16016634b65ebe432747af6798">GetOrigin</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a308bbb16016634b65ebe432747af6798"><td class="mdescLeft"> </td><td class="mdescRight">Returns the absolute, cummulated origin for the children inside the given parent. <a href="#a308bbb16016634b65ebe432747af6798">More...</a><br/></td></tr>
|
|
<tr class="separator:a308bbb16016634b65ebe432747af6798"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a33890fcb2491e140e19b4bb0619b5a19"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a33890fcb2491e140e19b4bb0619b5a19">GetNearestCommonAncestor</a> (Object cell1, Object cell2)</td></tr>
|
|
<tr class="memdesc:a33890fcb2491e140e19b4bb0619b5a19"><td class="mdescLeft"> </td><td class="mdescRight">Returns the nearest common ancestor for the specified cells. <a href="#a33890fcb2491e140e19b4bb0619b5a19">More...</a><br/></td></tr>
|
|
<tr class="separator:a33890fcb2491e140e19b4bb0619b5a19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab20a13d1702278f8cc3507d53c639114"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab20a13d1702278f8cc3507d53c639114">GetEdgeCount</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:ab20a13d1702278f8cc3507d53c639114"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad67527a8bf0ecae8e0fc737a2ee0d838" title="Returns the number of distinct edges connected to the given cell. ">com.mxgraph.mxIGraphModel.GetEdgeCount(Object)</a> <a href="#ab20a13d1702278f8cc3507d53c639114">More...</a><br/></td></tr>
|
|
<tr class="separator:ab20a13d1702278f8cc3507d53c639114"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a678b42b400eb40558e1e039db7136ee4"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a678b42b400eb40558e1e039db7136ee4">GetEdgeAt</a> (Object parent, int index)</td></tr>
|
|
<tr class="memdesc:a678b42b400eb40558e1e039db7136ee4"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a45b739ca59bd36f8d7c63f69e8ae61e0" title="Returns the edge of cell at the given index. ">com.mxgraph.mxIGraphModel.GetEdgeAt(Object, int)</a> <a href="#a678b42b400eb40558e1e039db7136ee4">More...</a><br/></td></tr>
|
|
<tr class="separator:a678b42b400eb40558e1e039db7136ee4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a315cc5ce42eedd4b25f04e9ae72c4de6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a315cc5ce42eedd4b25f04e9ae72c4de6">IsVertex</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a315cc5ce42eedd4b25f04e9ae72c4de6"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdc9b7bf983ce698c8ab58d650884844" title="Returns true if the given cell is a vertex. ">com.mxgraph.mxIGraphModel.IsVertex(Object)</a> <a href="#a315cc5ce42eedd4b25f04e9ae72c4de6">More...</a><br/></td></tr>
|
|
<tr class="separator:a315cc5ce42eedd4b25f04e9ae72c4de6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a894596a870d360fc9a1e16737b9b8183"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a894596a870d360fc9a1e16737b9b8183">IsEdge</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a894596a870d360fc9a1e16737b9b8183"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a55f48b5247ec10a1bb2233ea60c8215f" title="Returns true if the given cell is an edge. ">com.mxgraph.mxIGraphModel.IsEdge(Object)</a> <a href="#a894596a870d360fc9a1e16737b9b8183">More...</a><br/></td></tr>
|
|
<tr class="separator:a894596a870d360fc9a1e16737b9b8183"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c47387dc95dfdf6e6d252ff4b00fa07"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a9c47387dc95dfdf6e6d252ff4b00fa07">IsConnectable</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a9c47387dc95dfdf6e6d252ff4b00fa07"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a471cb28306dc3fed8cfc93e1e140fdab" title="Returns true if the given cell is connectable. ">com.mxgraph.mxIGraphModel.IsConnectable(Object)</a> <a href="#a9c47387dc95dfdf6e6d252ff4b00fa07">More...</a><br/></td></tr>
|
|
<tr class="separator:a9c47387dc95dfdf6e6d252ff4b00fa07"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab47649ca9c1da274b27ac9ede9c4c442"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab47649ca9c1da274b27ac9ede9c4c442">GetValue</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:ab47649ca9c1da274b27ac9ede9c4c442"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ab58054989c1b3f1ba47269b66dfd5a8b" title="Returns the user object of the given cell. ">com.mxgraph.mxIGraphModel.GetValue(Object)</a> <a href="#ab47649ca9c1da274b27ac9ede9c4c442">More...</a><br/></td></tr>
|
|
<tr class="separator:ab47649ca9c1da274b27ac9ede9c4c442"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a03343d292683b6db4662121e9e3cb780"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a03343d292683b6db4662121e9e3cb780">SetValue</a> (Object cell, Object value)</td></tr>
|
|
<tr class="memdesc:a03343d292683b6db4662121e9e3cb780"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a106592d04d501478143594bb3822fe47" title="Sets the user object of then given cell. ">com.mxgraph.mxIGraphModel.SetValue(Object, Object)</a> <a href="#a03343d292683b6db4662121e9e3cb780">More...</a><br/></td></tr>
|
|
<tr class="separator:a03343d292683b6db4662121e9e3cb780"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afcc8f229d66d1f58200543f189bc2ddd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#afcc8f229d66d1f58200543f189bc2ddd">GetGeometry</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:afcc8f229d66d1f58200543f189bc2ddd"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a23f5d07903551245edd81a0d7083bff1" title="Returns the geometry of the given cell. ">com.mxgraph.mxIGraphModel.GetGeometry(Object)</a> <a href="#afcc8f229d66d1f58200543f189bc2ddd">More...</a><br/></td></tr>
|
|
<tr class="separator:afcc8f229d66d1f58200543f189bc2ddd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3a8892a8a0a704d5fd759c18b9e04639"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a3a8892a8a0a704d5fd759c18b9e04639">SetGeometry</a> (Object cell, <a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> geometry)</td></tr>
|
|
<tr class="memdesc:a3a8892a8a0a704d5fd759c18b9e04639"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a726274a683813f9f8dbfb1e8e95015ad" title="Sets the geometry of the given cell. ">com.mxgraph.mxIGraphModel.SetGeometry(Object, mxGeometry)</a> <a href="#a3a8892a8a0a704d5fd759c18b9e04639">More...</a><br/></td></tr>
|
|
<tr class="separator:a3a8892a8a0a704d5fd759c18b9e04639"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a07c1d07e151c7415ac7e534622611f00"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a07c1d07e151c7415ac7e534622611f00">GetStyle</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a07c1d07e151c7415ac7e534622611f00"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626" title="Returns the style of the given cell. ">com.mxgraph.mxIGraphModel.GetStyle(Object)</a> <a href="#a07c1d07e151c7415ac7e534622611f00">More...</a><br/></td></tr>
|
|
<tr class="separator:a07c1d07e151c7415ac7e534622611f00"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50c4137ed3a246f338eb1d755c40ce10"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a50c4137ed3a246f338eb1d755c40ce10">SetStyle</a> (Object cell, string style)</td></tr>
|
|
<tr class="memdesc:a50c4137ed3a246f338eb1d755c40ce10"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b" title="Sets the style of the given cell. ">com.mxgraph.mxIGraphModel.SetStyle(Object, string)</a> <a href="#a50c4137ed3a246f338eb1d755c40ce10">More...</a><br/></td></tr>
|
|
<tr class="separator:a50c4137ed3a246f338eb1d755c40ce10"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a329df4ca7a7ab958a339695ea188842f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a329df4ca7a7ab958a339695ea188842f">IsVisible</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a329df4ca7a7ab958a339695ea188842f"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1947ffa03c65ff0a0cb14c7c742a4b8c" title="Returns true if the given cell is visible. ">com.mxgraph.mxIGraphModel.IsVisible(Object)</a> <a href="#a329df4ca7a7ab958a339695ea188842f">More...</a><br/></td></tr>
|
|
<tr class="separator:a329df4ca7a7ab958a339695ea188842f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51a0dd4569d00a19aedd3f59acea8fc5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a51a0dd4569d00a19aedd3f59acea8fc5">SetVisible</a> (Object cell, bool visible)</td></tr>
|
|
<tr class="memdesc:a51a0dd4569d00a19aedd3f59acea8fc5"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a11faed388a4b66de80863e768fdde957" title="Sets the visible state of the given cell. ">com.mxgraph.mxIGraphModel.SetVisible(Object, bool)</a> <a href="#a51a0dd4569d00a19aedd3f59acea8fc5">More...</a><br/></td></tr>
|
|
<tr class="separator:a51a0dd4569d00a19aedd3f59acea8fc5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a37f7e884b6e4e4eccd5fbb376c056df4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a37f7e884b6e4e4eccd5fbb376c056df4">IsCollapsed</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a37f7e884b6e4e4eccd5fbb376c056df4"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#adfbdb706654adcabf5a8277d7903a715" title="Returns true if the given cell is collapsed. ">com.mxgraph.mxIGraphModel.IsCollapsed(Object)</a> <a href="#a37f7e884b6e4e4eccd5fbb376c056df4">More...</a><br/></td></tr>
|
|
<tr class="separator:a37f7e884b6e4e4eccd5fbb376c056df4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0bc27bc208e6de7fbef26cad23d496f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab0bc27bc208e6de7fbef26cad23d496f">SetCollapsed</a> (Object cell, bool collapsed)</td></tr>
|
|
<tr class="memdesc:ab0bc27bc208e6de7fbef26cad23d496f"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aa9e29fca5946a975f3151fd729ebbfd8" title="Sets the collapsed state of the given cell. ">com.mxgraph.mxIGraphModel.SetCollapsed(Object, bool)</a> <a href="#ab0bc27bc208e6de7fbef26cad23d496f">More...</a><br/></td></tr>
|
|
<tr class="separator:ab0bc27bc208e6de7fbef26cad23d496f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f033be9b25d1e696e91f79267dea417"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a6f033be9b25d1e696e91f79267dea417">BeginUpdate</a> ()</td></tr>
|
|
<tr class="memdesc:a6f033be9b25d1e696e91f79267dea417"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db" title="Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by us...">com.mxgraph.mxIGraphModel.BeginUpdate()</a> <a href="#a6f033be9b25d1e696e91f79267dea417">More...</a><br/></td></tr>
|
|
<tr class="separator:a6f033be9b25d1e696e91f79267dea417"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73af4179fe703590e6b3ea8a81ae4e55"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a73af4179fe703590e6b3ea8a81ae4e55">EndUpdate</a> ()</td></tr>
|
|
<tr class="memdesc:a73af4179fe703590e6b3ea8a81ae4e55"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb" title="Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0...">com.mxgraph.mxIGraphModel.EndUpdate()</a> <a href="#a73af4179fe703590e6b3ea8a81ae4e55">More...</a><br/></td></tr>
|
|
<tr class="separator:a73af4179fe703590e6b3ea8a81ae4e55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2aa6de5af51eb8890b1b8c169a36541b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a2aa6de5af51eb8890b1b8c169a36541b">MergeChildren</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> from, <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> to, bool cloneAllEdges)</td></tr>
|
|
<tr class="memdesc:a2aa6de5af51eb8890b1b8c169a36541b"><td class="mdescLeft"> </td><td class="mdescRight">Merges the children of the given cell into the given target cell inside this model. All cells are cloned unless there is a corresponding cell in the model with the same id, in which case the source cell is ignored and all edges are connected to the corresponding cell in this model. Edges are considered to have no identity and are always cloned unless the cloneAllEdges flag is set to false, in which case edges with the same id in the target model are reconnected to reflect the terminals of the source edges. <a href="#a2aa6de5af51eb8890b1b8c169a36541b">More...</a><br/></td></tr>
|
|
<tr class="separator:a2aa6de5af51eb8890b1b8c169a36541b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a10aeb9ad2fc0bd774f3f0a09d06d5870"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a10aeb9ad2fc0bd774f3f0a09d06d5870">GetDirectedEdgeCount</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell, bool outgoing)</td></tr>
|
|
<tr class="memdesc:a10aeb9ad2fc0bd774f3f0a09d06d5870"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of incoming or outgoing edges. <a href="#a10aeb9ad2fc0bd774f3f0a09d06d5870">More...</a><br/></td></tr>
|
|
<tr class="separator:a10aeb9ad2fc0bd774f3f0a09d06d5870"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73a2f324677bd1493239e9512c5b7518"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a73a2f324677bd1493239e9512c5b7518">GetDirectedEdgeCount</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell, bool outgoing, Object ignoredEdge)</td></tr>
|
|
<tr class="memdesc:a73a2f324677bd1493239e9512c5b7518"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of incoming or outgoing edges, ignoring the given edge. <a href="#a73a2f324677bd1493239e9512c5b7518">More...</a><br/></td></tr>
|
|
<tr class="separator:a73a2f324677bd1493239e9512c5b7518"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a241312cf08bc6b67fbdbd26e7701e3d1"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a241312cf08bc6b67fbdbd26e7701e3d1">GetEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr class="memdesc:a241312cf08bc6b67fbdbd26e7701e3d1"><td class="mdescLeft"> </td><td class="mdescRight">Returns all edges connected to this cell including loops. <a href="#a241312cf08bc6b67fbdbd26e7701e3d1">More...</a><br/></td></tr>
|
|
<tr class="separator:a241312cf08bc6b67fbdbd26e7701e3d1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a413d7edd819ccf35b57dcbfe1f311ff4"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a413d7edd819ccf35b57dcbfe1f311ff4">GetConnections</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr class="memdesc:a413d7edd819ccf35b57dcbfe1f311ff4"><td class="mdescLeft"> </td><td class="mdescRight">Returns all edges connected to this cell without loops. <a href="#a413d7edd819ccf35b57dcbfe1f311ff4">More...</a><br/></td></tr>
|
|
<tr class="separator:a413d7edd819ccf35b57dcbfe1f311ff4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b7687500ca0df7267cdb4e805388ecc"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a1b7687500ca0df7267cdb4e805388ecc">GetIncomingEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr class="memdesc:a1b7687500ca0df7267cdb4e805388ecc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the incoming edges of the given cell without loops. <a href="#a1b7687500ca0df7267cdb4e805388ecc">More...</a><br/></td></tr>
|
|
<tr class="separator:a1b7687500ca0df7267cdb4e805388ecc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9449b45dfc96cff23ebdc175358bcc50"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a9449b45dfc96cff23ebdc175358bcc50">GetOutgoingEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr class="memdesc:a9449b45dfc96cff23ebdc175358bcc50"><td class="mdescLeft"> </td><td class="mdescRight">Returns the outgoing edges of the given cell without loops. <a href="#a9449b45dfc96cff23ebdc175358bcc50">More...</a><br/></td></tr>
|
|
<tr class="separator:a9449b45dfc96cff23ebdc175358bcc50"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a137e8d0683063a973e91fb702f62b382"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a137e8d0683063a973e91fb702f62b382">GetEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell, bool incoming, bool outgoing, bool includeLoops)</td></tr>
|
|
<tr class="memdesc:a137e8d0683063a973e91fb702f62b382"><td class="mdescLeft"> </td><td class="mdescRight">Returns all distinct edges connected to this cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops. <a href="#a137e8d0683063a973e91fb702f62b382">More...</a><br/></td></tr>
|
|
<tr class="separator:a137e8d0683063a973e91fb702f62b382"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aecc6d4a8253a9b6687d6be2c23944cd8"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aecc6d4a8253a9b6687d6be2c23944cd8">GetEdgesBetween</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object source, Object target)</td></tr>
|
|
<tr class="memdesc:aecc6d4a8253a9b6687d6be2c23944cd8"><td class="mdescLeft"> </td><td class="mdescRight">Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. <a href="#aecc6d4a8253a9b6687d6be2c23944cd8">More...</a><br/></td></tr>
|
|
<tr class="separator:aecc6d4a8253a9b6687d6be2c23944cd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d8b509cf5b5f2c78fb39046438e5a66"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a3d8b509cf5b5f2c78fb39046438e5a66">GetEdgesBetween</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object source, Object target, bool directed)</td></tr>
|
|
<tr class="memdesc:a3d8b509cf5b5f2c78fb39046438e5a66"><td class="mdescLeft"> </td><td class="mdescRight">Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. <a href="#a3d8b509cf5b5f2c78fb39046438e5a66">More...</a><br/></td></tr>
|
|
<tr class="separator:a3d8b509cf5b5f2c78fb39046438e5a66"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2c3ccc16641258e671efef8c735b648c"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a2c3ccc16641258e671efef8c735b648c">GetOpposites</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object[] edges, Object terminal, bool sources, bool targets)</td></tr>
|
|
<tr class="memdesc:a2c3ccc16641258e671efef8c735b648c"><td class="mdescLeft"> </td><td class="mdescRight">Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells. <a href="#a2c3ccc16641258e671efef8c735b648c">More...</a><br/></td></tr>
|
|
<tr class="separator:a2c3ccc16641258e671efef8c735b648c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5937717eb03276a11807743b5e292036"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a5937717eb03276a11807743b5e292036">SetTerminals</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object edge, Object source, Object target)</td></tr>
|
|
<tr class="memdesc:a5937717eb03276a11807743b5e292036"><td class="mdescLeft"> </td><td class="mdescRight">Sets the source and target of the given edge in a single atomic change. <a href="#a5937717eb03276a11807743b5e292036">More...</a><br/></td></tr>
|
|
<tr class="separator:a5937717eb03276a11807743b5e292036"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2267b0ec6134c979766453a5e486d080"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a2267b0ec6134c979766453a5e486d080">getChildVertices</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object parent)</td></tr>
|
|
<tr class="memdesc:a2267b0ec6134c979766453a5e486d080"><td class="mdescLeft"> </td><td class="mdescRight">Returns the child vertices of the given parent. <a href="#a2267b0ec6134c979766453a5e486d080">More...</a><br/></td></tr>
|
|
<tr class="separator:a2267b0ec6134c979766453a5e486d080"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab346f1af94aa9ed605c08fe302677441"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab346f1af94aa9ed605c08fe302677441">getChildEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object parent)</td></tr>
|
|
<tr class="memdesc:ab346f1af94aa9ed605c08fe302677441"><td class="mdescLeft"> </td><td class="mdescRight">Returns the child edges of the given parent. <a href="#ab346f1af94aa9ed605c08fe302677441">More...</a><br/></td></tr>
|
|
<tr class="separator:ab346f1af94aa9ed605c08fe302677441"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeaefb2c906bdbf81c6bc875eb015544f"><td class="memItemLeft" align="right" valign="top">static Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aeaefb2c906bdbf81c6bc875eb015544f">getChildCells</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object parent, bool vertices, bool edges)</td></tr>
|
|
<tr class="memdesc:aeaefb2c906bdbf81c6bc875eb015544f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the children of the given cell that are vertices and/or edges depending on the arguments. <a href="#aeaefb2c906bdbf81c6bc875eb015544f">More...</a><br/></td></tr>
|
|
<tr class="separator:aeaefb2c906bdbf81c6bc875eb015544f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a6e4b420f5ddb24e80b1a8e858f9a720c"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a6e4b420f5ddb24e80b1a8e858f9a720c">CloneCell</a> (Object cell, Hashtable mapping, bool includeChildren)</td></tr>
|
|
<tr class="memdesc:a6e4b420f5ddb24e80b1a8e858f9a720c"><td class="mdescLeft"> </td><td class="mdescRight">Inner helper method for cloning cells recursively. <a href="#a6e4b420f5ddb24e80b1a8e858f9a720c">More...</a><br/></td></tr>
|
|
<tr class="separator:a6e4b420f5ddb24e80b1a8e858f9a720c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae89d7cc37a13fb6682a419e47ad97a31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae89d7cc37a13fb6682a419e47ad97a31">RestoreClone</a> (Object clone, Object cell, Hashtable mapping)</td></tr>
|
|
<tr class="memdesc:ae89d7cc37a13fb6682a419e47ad97a31"><td class="mdescLeft"> </td><td class="mdescRight">Inner helper method for restoring the connections in a network of cloned cells. <a href="#ae89d7cc37a13fb6682a419e47ad97a31">More...</a><br/></td></tr>
|
|
<tr class="separator:ae89d7cc37a13fb6682a419e47ad97a31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a71404b4896d9e0cf3c91d9f7d282b8e2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a71404b4896d9e0cf3c91d9f7d282b8e2">CellAdded</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a71404b4896d9e0cf3c91d9f7d282b8e2"><td class="mdescLeft"> </td><td class="mdescRight">Invoked after a cell has been added to a parent. This recursively creates an Id for the new cell and/or resolves Id collisions. <a href="#a71404b4896d9e0cf3c91d9f7d282b8e2">More...</a><br/></td></tr>
|
|
<tr class="separator:a71404b4896d9e0cf3c91d9f7d282b8e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a76274f54bc2b7f453fe933e94a0ea409"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a76274f54bc2b7f453fe933e94a0ea409">CellRemoved</a> (Object cell)</td></tr>
|
|
<tr class="memdesc:a76274f54bc2b7f453fe933e94a0ea409"><td class="mdescLeft"> </td><td class="mdescRight">Invoked after a cell has been removed from the model. This recursively removes the cell from its terminals and removes the mapping from the Id to the cell. <a href="#a76274f54bc2b7f453fe933e94a0ea409">More...</a><br/></td></tr>
|
|
<tr class="separator:a76274f54bc2b7f453fe933e94a0ea409"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e72ff0cc98e79c72837553daafd6aa4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a3e72ff0cc98e79c72837553daafd6aa4">MergeChildrenImpl</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> from, <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> to, bool cloneAllEdges, Dictionary< Object, Object > mapping)</td></tr>
|
|
<tr class="memdesc:a3e72ff0cc98e79c72837553daafd6aa4"><td class="mdescLeft"> </td><td class="mdescRight">Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model. <a href="#a3e72ff0cc98e79c72837553daafd6aa4">More...</a><br/></td></tr>
|
|
<tr class="separator:a3e72ff0cc98e79c72837553daafd6aa4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:a80296b5b88a8341cb9a5a6f0514b00e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a80296b5b88a8341cb9a5a6f0514b00e4">root</a></td></tr>
|
|
<tr class="memdesc:a80296b5b88a8341cb9a5a6f0514b00e4"><td class="mdescLeft"> </td><td class="mdescRight">Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below. <a href="#a80296b5b88a8341cb9a5a6f0514b00e4">More...</a><br/></td></tr>
|
|
<tr class="separator:a80296b5b88a8341cb9a5a6f0514b00e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0a24b807cfff58dff8069fe2e1f38254"><td class="memItemLeft" align="right" valign="top">Dictionary< Object, Object > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a0a24b807cfff58dff8069fe2e1f38254">cells</a></td></tr>
|
|
<tr class="memdesc:a0a24b807cfff58dff8069fe2e1f38254"><td class="mdescLeft"> </td><td class="mdescRight">Maps from Ids to cells. <a href="#a0a24b807cfff58dff8069fe2e1f38254">More...</a><br/></td></tr>
|
|
<tr class="separator:a0a24b807cfff58dff8069fe2e1f38254"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64ca999a09eac7cc861e8e8afe45cc4c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a64ca999a09eac7cc861e8e8afe45cc4c">createIds</a> = true</td></tr>
|
|
<tr class="memdesc:a64ca999a09eac7cc861e8e8afe45cc4c"><td class="mdescLeft"> </td><td class="mdescRight">Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true. <a href="#a64ca999a09eac7cc861e8e8afe45cc4c">More...</a><br/></td></tr>
|
|
<tr class="separator:a64ca999a09eac7cc861e8e8afe45cc4c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a57020a72faf9fe3a55f0d0c623616947"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a57020a72faf9fe3a55f0d0c623616947">maintainEdgeParent</a> = true</td></tr>
|
|
<tr class="memdesc:a57020a72faf9fe3a55f0d0c623616947"><td class="mdescLeft"> </td><td class="mdescRight">Specifies if the parent of edges should be automatically change to point to the nearest common ancestor of its terminals. Default is true. <a href="#a57020a72faf9fe3a55f0d0c623616947">More...</a><br/></td></tr>
|
|
<tr class="separator:a57020a72faf9fe3a55f0d0c623616947"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a83ee9a605f680689e7d6632306a56f15"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a83ee9a605f680689e7d6632306a56f15">nextId</a> = 0</td></tr>
|
|
<tr class="memdesc:a83ee9a605f680689e7d6632306a56f15"><td class="mdescLeft"> </td><td class="mdescRight">Specifies the next Id to be created. Initial value is 0. <a href="#a83ee9a605f680689e7d6632306a56f15">More...</a><br/></td></tr>
|
|
<tr class="separator:a83ee9a605f680689e7d6632306a56f15"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab81739d5e15b933f1152986d84499f7d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab81739d5e15b933f1152986d84499f7d">updateLevel</a> = 0</td></tr>
|
|
<tr class="memdesc:ab81739d5e15b933f1152986d84499f7d"><td class="mdescLeft"> </td><td class="mdescRight">Counter for the depth of nested transactions. Each call to beginUpdate increments this counter and each call to endUpdate decrements it. When the counter reaches 0, the transaction is closed and the respective events are fired. Initial value is 0. <a href="#ab81739d5e15b933f1152986d84499f7d">More...</a><br/></td></tr>
|
|
<tr class="separator:ab81739d5e15b933f1152986d84499f7d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
|
|
Properties</h2></td></tr>
|
|
<tr class="memitem:ace98ecfeedb6c248d0f437c470eb3eec"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ace98ecfeedb6c248d0f437c470eb3eec">IsMaintainEdgeParent</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:ace98ecfeedb6c248d0f437c470eb3eec"><td class="mdescLeft"> </td><td class="mdescRight">Sets of returns if edges should automatically be moved into the nearest common ancestor of their terminals. <a href="#ace98ecfeedb6c248d0f437c470eb3eec">More...</a><br/></td></tr>
|
|
<tr class="separator:ace98ecfeedb6c248d0f437c470eb3eec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af819a7be43f76d56a5bd3ced931170e8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#af819a7be43f76d56a5bd3ced931170e8">IsCreateIds</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:af819a7be43f76d56a5bd3ced931170e8"><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns if the model automatically creates Ids and resolves Id collisions. <a href="#af819a7be43f76d56a5bd3ced931170e8">More...</a><br/></td></tr>
|
|
<tr class="separator:af819a7be43f76d56a5bd3ced931170e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a29f64a41403aa748f49e4d53f2b7c164"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a29f64a41403aa748f49e4d53f2b7c164"></a>
|
|
Object </td><td class="memItemRight" valign="bottom"><b>Root</b><code> [get, set]</code></td></tr>
|
|
<tr class="separator:a29f64a41403aa748f49e4d53f2b7c164"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header properties_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td colspan="2" onclick="javascript:toggleInherit('properties_interfacecom_1_1mxgraph_1_1mxIGraphModel')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">com.mxgraph.mxIGraphModel</a></td></tr>
|
|
<tr class="memitem:a9cc6be0807506584efb6027451753f29 inherit properties_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a9cc6be0807506584efb6027451753f29">Root</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a9cc6be0807506584efb6027451753f29 inherit properties_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td class="mdescLeft"> </td><td class="mdescRight">Holds the root cell. <a href="#a9cc6be0807506584efb6027451753f29">More...</a><br/></td></tr>
|
|
<tr class="separator:a9cc6be0807506584efb6027451753f29 inherit properties_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="events"></a>
|
|
Events</h2></td></tr>
|
|
<tr class="memitem:ae25e802cfd2636d859971b86407c2bc3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacecom_1_1mxgraph.html#abd1246a669b8db904a28aafc0336499f">mxGraphModelChangeEventHandler</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae25e802cfd2636d859971b86407c2bc3">GraphModelChange</a></td></tr>
|
|
<tr class="memdesc:ae25e802cfd2636d859971b86407c2bc3"><td class="mdescLeft"> </td><td class="mdescRight">Fires when the graph model has changed. <a href="#ae25e802cfd2636d859971b86407c2bc3">More...</a><br/></td></tr>
|
|
<tr class="separator:ae25e802cfd2636d859971b86407c2bc3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header events_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td colspan="2" onclick="javascript:toggleInherit('events_interfacecom_1_1mxgraph_1_1mxIGraphModel')"><img src="closed.png" alt="-"/> Events inherited from <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">com.mxgraph.mxIGraphModel</a></td></tr>
|
|
<tr class="memitem:a9c69f619c961feb7942a2d322f351585 inherit events_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacecom_1_1mxgraph.html#abd1246a669b8db904a28aafc0336499f">mxGraphModelChangeEventHandler</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a9c69f619c961feb7942a2d322f351585">GraphModelChange</a></td></tr>
|
|
<tr class="memdesc:a9c69f619c961feb7942a2d322f351585 inherit events_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td class="mdescLeft"> </td><td class="mdescRight">Called when the graph model has changed. <a href="#a9c69f619c961feb7942a2d322f351585">More...</a><br/></td></tr>
|
|
<tr class="separator:a9c69f619c961feb7942a2d322f351585 inherit events_interfacecom_1_1mxgraph_1_1mxIGraphModel"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="ae760e20b9ce840c08f90deae90a3abcd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com.mxgraph.mxGraphModel.mxGraphModel </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs a new empty graph model. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7d2deede605768c92ba7104fedb23510"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com.mxgraph.mxGraphModel.mxGraphModel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>root</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs a new graph model. If no root is specified then a new root <a class="el" href="classcom_1_1mxgraph_1_1mxCell.html" title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a> with a default layer is created. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">root</td><td>Cell that represents the root cell.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="ae8904c4103503bc620ba3ec8dd0892ca"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.Add </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>child</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that specifies the parent to contain the child.</td></tr>
|
|
<tr><td class="paramname">child</td><td>Cell that specifies the child to be inserted.</td></tr>
|
|
<tr><td class="paramname">index</td><td>Integer that specifies the index of the child.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the inserted child.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a68f0488cf5e867b5d9a9a64b8531658e">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6f033be9b25d1e696e91f79267dea417"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.BeginUpdate </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db" title="Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by us...">com.mxgraph.mxIGraphModel.BeginUpdate()</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a71404b4896d9e0cf3c91d9f7d282b8e2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.CellAdded </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Invoked after a cell has been added to a parent. This recursively creates an Id for the new cell and/or resolves Id collisions. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell that has been added.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html#a4d8537b8b40c0fb6ae718d97b647ea5e">com.mxgraph.mxICell.GetChildAt()</a>, and <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html#a488b6b6921d6ed7eabc62b42aec03e72">com.mxgraph.mxICell.Id</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a76274f54bc2b7f453fe933e94a0ea409"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.CellRemoved </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Invoked after a cell has been removed from the model. This recursively removes the cell from its terminals and removes the mapping from the Id to the cell. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell that has been removed.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html#a4d8537b8b40c0fb6ae718d97b647ea5e">com.mxgraph.mxICell.GetChildAt()</a>, and <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html#a488b6b6921d6ed7eabc62b42aec03e72">com.mxgraph.mxICell.Id</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a69fca8fb814fb7de26763be0b4b19e34"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.Clear </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sets a new root using createRoot. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6e4b420f5ddb24e80b1a8e858f9a720c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.CloneCell </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Hashtable </td>
|
|
<td class="paramname"><em>mapping</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>includeChildren</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inner helper method for cloning cells recursively. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac36af210b1b3159dc187dd5fbb298e19"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object [] com.mxgraph.mxGraphModel.CloneCells </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object[] </td>
|
|
<td class="paramname"><em>cells</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>includeChildren</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cells</td><td>Array of cells to be cloned.</td></tr>
|
|
<tr><td class="paramname">includeChildren</td><td>Boolean indicating if the cells should be cloned with all descendants.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns a cloned array of cells.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a2b33232068cb9c36e0f65c360aad4302">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a30cbb76e0bf39460796f494fdbfb2d17"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.Contains </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns true if the model contains the given cell. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell to be checked.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns true if the cell is in the model.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a70576bd4c9b701362fa668e736a483ec">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9575f6cbec5289df808e8071d77a9665"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string com.mxgraph.mxGraphModel.CreateId </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a new Id for the given cell and increments the global counter for creating new Ids. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell for which a new Id should be created.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns a new Id for the given cell.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a077a93f5e8a19b1c8305bc1c1355550e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.CreateRoot </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a new root cell with a default layer (child 0). </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a73af4179fe703590e6b3ea8a81ae4e55"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.EndUpdate </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb" title="Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0...">com.mxgraph.mxIGraphModel.EndUpdate()</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afb94574030d54696aa0f1ce668141913"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetCell </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>id</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p></p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">id</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a887f7e219f4eb298f7aad502a3091f89"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetChildAt </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the child of the given parent at the given index. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that represents the parent.</td></tr>
|
|
<tr><td class="paramname">index</td><td>Integer that specifies the index of the child to be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the child at index in parent.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#af48bca03977c6a7ad6b0916b10559e64">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeaefb2c906bdbf81c6bc875eb015544f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.getChildCells </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>vertices</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>edges</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the children of the given cell that are vertices and/or edges depending on the arguments. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the hierarchical information.</td></tr>
|
|
<tr><td class="paramname">parent</td><td>Cell whose child vertices or edges should be returned.</td></tr>
|
|
<tr><td class="paramname">vertices</td><td>Boolean indicating if child vertices should be returned.</td></tr>
|
|
<tr><td class="paramname">edges</td><td>Boolean indicating if child edges should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the child vertices and/or edges of the given parent.</dd></dl>
|
|
|
|
<p>References <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a55f48b5247ec10a1bb2233ea60c8215f">com.mxgraph.mxIGraphModel.IsEdge()</a>, and <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdc9b7bf983ce698c8ab58d650884844">com.mxgraph.mxIGraphModel.IsVertex()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a83223523565c8d883a4e771d4a23f498"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com.mxgraph.mxGraphModel.GetChildCount </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the number of children in the given cell. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose number of children should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the number of children in the given cell.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad31eb9906e53e2d92e6e9156ba70f3e1">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab346f1af94aa9ed605c08fe302677441"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.getChildEdges </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the child edges of the given parent. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the hierarchical information.</td></tr>
|
|
<tr><td class="paramname">parent</td><td>Cell whose child edges should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the child edges of the given parent.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2267b0ec6134c979766453a5e486d080"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.getChildVertices </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the child vertices of the given parent. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the hierarchical information.</td></tr>
|
|
<tr><td class="paramname">parent</td><td>Cell whose child vertices should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the child vertices of the given parent.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a413d7edd819ccf35b57dcbfe1f311ff4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetConnections </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns all edges connected to this cell without loops. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the connection information</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose connections should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the array of connected edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a10aeb9ad2fc0bd774f3f0a09d06d5870"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int com.mxgraph.mxGraphModel.GetDirectedEdgeCount </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>outgoing</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the number of incoming or outgoing edges. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Graph model that contains the connection data.</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose edges should be counted.</td></tr>
|
|
<tr><td class="paramname">outgoing</td><td>Boolean that specifies if the number of outgoing or incoming edges should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a73a2f324677bd1493239e9512c5b7518"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int com.mxgraph.mxGraphModel.GetDirectedEdgeCount </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>outgoing</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>ignoredEdge</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the number of incoming or outgoing edges, ignoring the given edge. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Graph model that contains the connection data.</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose edges should be counted.</td></tr>
|
|
<tr><td class="paramname">outgoing</td><td>Boolean that specifies if the number of outgoing or incoming edges should be returned.</td></tr>
|
|
<tr><td class="paramname">ignoredEdge</td><td>Object that represents an edge to be ignored.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
|
|
|
|
<p>References <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a891a419db7e28c278d62ab6046314188">com.mxgraph.mxIGraphModel.GetTerminal()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a678b42b400eb40558e1e039db7136ee4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetEdgeAt </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a45b739ca59bd36f8d7c63f69e8ae61e0" title="Returns the edge of cell at the given index. ">com.mxgraph.mxIGraphModel.GetEdgeAt(Object, int)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a45b739ca59bd36f8d7c63f69e8ae61e0">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab20a13d1702278f8cc3507d53c639114"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com.mxgraph.mxGraphModel.GetEdgeCount </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad67527a8bf0ecae8e0fc737a2ee0d838" title="Returns the number of distinct edges connected to the given cell. ">com.mxgraph.mxIGraphModel.GetEdgeCount(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad67527a8bf0ecae8e0fc737a2ee0d838">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a241312cf08bc6b67fbdbd26e7701e3d1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetEdges </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns all edges connected to this cell including loops. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the connection information</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose connections should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a137e8d0683063a973e91fb702f62b382"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetEdges </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>incoming</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>outgoing</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>includeLoops</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns all distinct edges connected to this cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the connection information</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose connections should be returned</td></tr>
|
|
<tr><td class="paramname">incoming</td><td>Specifies if incoming edges should be returned</td></tr>
|
|
<tr><td class="paramname">outgoing</td><td>Specifies if outgoing edges should be returned</td></tr>
|
|
<tr><td class="paramname">includeLoops</td><td>Specifies if loops should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the array of connected edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aecc6d4a8253a9b6687d6be2c23944cd8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetEdgesBetween </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>target</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td></td></tr>
|
|
<tr><td class="paramname">source</td><td></td></tr>
|
|
<tr><td class="paramname">target</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3d8b509cf5b5f2c78fb39046438e5a66"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetEdgesBetween </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>directed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>The graph model that contains the graph.</td></tr>
|
|
<tr><td class="paramname">source</td><td><a class="el" href="classcom_1_1mxgraph_1_1mxCell.html" title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a> that defines the source terminal of the edge to be returned.</td></tr>
|
|
<tr><td class="paramname">target</td><td><a class="el" href="classcom_1_1mxgraph_1_1mxCell.html" title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. ">mxCell</a> that defines the target terminal of the edge to be returned.</td></tr>
|
|
<tr><td class="paramname">directed</td><td>Optional boolean that specifies if the direction of the edge should be taken into account. Default is true.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>References <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a891a419db7e28c278d62ab6046314188">com.mxgraph.mxIGraphModel.GetTerminal()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afcc8f229d66d1f58200543f189bc2ddd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> com.mxgraph.mxGraphModel.GetGeometry </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a23f5d07903551245edd81a0d7083bff1" title="Returns the geometry of the given cell. ">com.mxgraph.mxIGraphModel.GetGeometry(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a23f5d07903551245edd81a0d7083bff1">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1b7687500ca0df7267cdb4e805388ecc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetIncomingEdges </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the incoming edges of the given cell without loops. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Graphmodel that contains the edges</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose incoming edges should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the incoming edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a33890fcb2491e140e19b4bb0619b5a19"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetNearestCommonAncestor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell2</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the nearest common ancestor for the specified cells. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell1</td><td>Cell that specifies the first cell in the tree.</td></tr>
|
|
<tr><td class="paramname">cell2</td><td>Cell that specifies the second cell in the tree.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the nearest common ancestor of the given cells.</dd></dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxCellPath.html#a81ef93cb263ee9aa0161f86a17948676">com.mxgraph.mxCellPath.PATH_SEPARATOR</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2c3ccc16641258e671efef8c735b648c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetOpposites </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object[] </td>
|
|
<td class="paramname"><em>edges</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>terminal</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>sources</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>targets</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the graph.</td></tr>
|
|
<tr><td class="paramname">edges</td><td>Array of edges to be examined.</td></tr>
|
|
<tr><td class="paramname">terminal</td><td>Cell that specifies the known end of the edges.</td></tr>
|
|
<tr><td class="paramname">sources</td><td>Boolean that specifies if source terminals should be contained in the result. Default is true.</td></tr>
|
|
<tr><td class="paramname">targets</td><td>Boolean that specifies if target terminals should be contained in the result. Default is true.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the array of opposite terminals for the given edges.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a308bbb16016634b65ebe432747af6798"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com.mxgraph.mxGraphModel.GetOrigin </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the absolute, cummulated origin for the children inside the given parent. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9449b45dfc96cff23ebdc175358bcc50"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static Object [] com.mxgraph.mxGraphModel.GetOutgoingEdges </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the outgoing edges of the given cell without loops. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Graphmodel that contains the edges</td></tr>
|
|
<tr><td class="paramname">cell</td><td>Cell whose outgoing edges should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the outgoing edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a51a36648daf6c29ebbf4e88933bc82b8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetParent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>child</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the parent of the given cell. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">child</td><td>Cell whose parent should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the parent of the given cell.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a66dd82bb3fd98ef5b1305d850151f22e">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a07c1d07e151c7415ac7e534622611f00"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string com.mxgraph.mxGraphModel.GetStyle </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626" title="Returns the style of the given cell. ">com.mxgraph.mxIGraphModel.GetStyle(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a339d1951aeaddcfff04414472faa36a3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetTerminal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>edge</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>source</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the source or target terminal of the given edge depending on the value of the boolean parameter. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">edge</td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td class="paramname">source</td><td>Boolean indicating which end of the edge should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the source or target of the given edge.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a891a419db7e28c278d62ab6046314188">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab47649ca9c1da274b27ac9ede9c4c442"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.GetValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ab58054989c1b3f1ba47269b66dfd5a8b" title="Returns the user object of the given cell. ">com.mxgraph.mxIGraphModel.GetValue(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ab58054989c1b3f1ba47269b66dfd5a8b">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2257ccb14a06d8e83af26a2b04825b80"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsAncestor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>child</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns true if the given parent is an ancestor of child. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that specifies the parent.</td></tr>
|
|
<tr><td class="paramname">child</td><td>Cell that specifies the child.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns true if child is an ancestor of parent.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a12fdd478f6d51857e9fdefef8202230a">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a37f7e884b6e4e4eccd5fbb376c056df4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsCollapsed </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#adfbdb706654adcabf5a8277d7903a715" title="Returns true if the given cell is collapsed. ">com.mxgraph.mxIGraphModel.IsCollapsed(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#adfbdb706654adcabf5a8277d7903a715">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9c47387dc95dfdf6e6d252ff4b00fa07"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsConnectable </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a471cb28306dc3fed8cfc93e1e140fdab" title="Returns true if the given cell is connectable. ">com.mxgraph.mxIGraphModel.IsConnectable(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a471cb28306dc3fed8cfc93e1e140fdab">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a894596a870d360fc9a1e16737b9b8183"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsEdge </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a55f48b5247ec10a1bb2233ea60c8215f" title="Returns true if the given cell is an edge. ">com.mxgraph.mxIGraphModel.IsEdge(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a55f48b5247ec10a1bb2233ea60c8215f">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a315cc5ce42eedd4b25f04e9ae72c4de6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsVertex </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdc9b7bf983ce698c8ab58d650884844" title="Returns true if the given cell is a vertex. ">com.mxgraph.mxIGraphModel.IsVertex(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdc9b7bf983ce698c8ab58d650884844">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a329df4ca7a7ab958a339695ea188842f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsVisible </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1947ffa03c65ff0a0cb14c7c742a4b8c" title="Returns true if the given cell is visible. ">com.mxgraph.mxIGraphModel.IsVisible(Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1947ffa03c65ff0a0cb14c7c742a4b8c">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2aa6de5af51eb8890b1b8c169a36541b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.MergeChildren </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> </td>
|
|
<td class="paramname"><em>from</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> </td>
|
|
<td class="paramname"><em>to</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>cloneAllEdges</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Merges the children of the given cell into the given target cell inside this model. All cells are cloned unless there is a corresponding cell in the model with the same id, in which case the source cell is ignored and all edges are connected to the corresponding cell in this model. Edges are considered to have no identity and are always cloned unless the cloneAllEdges flag is set to false, in which case edges with the same id in the target model are reconnected to reflect the terminals of the source edges. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">from</td><td></td></tr>
|
|
<tr><td class="paramname">to</td><td></td></tr>
|
|
<tr><td class="paramname">cloneAllEdges</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3e72ff0cc98e79c72837553daafd6aa4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.MergeChildrenImpl </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> </td>
|
|
<td class="paramname"><em>from</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> </td>
|
|
<td class="paramname"><em>to</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>cloneAllEdges</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< Object, Object > </td>
|
|
<td class="paramname"><em>mapping</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">from</td><td></td></tr>
|
|
<tr><td class="paramname">to</td><td></td></tr>
|
|
<tr><td class="paramname">cloneAllEdges</td><td></td></tr>
|
|
<tr><td class="paramname">mapping</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html#ab167c672804cde90b1eeec9e62f078bb">com.mxgraph.mxICell.Clone()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aee6bf0e1bc6eb7045c543d13611cf3dd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.Remove </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdfefab19b882fcaa4e51e146b70014b" title="Removes the specified cell from the model. This operation will remove the cell and all of its childre...">com.mxgraph.mxIGraphModel.Remove(Object)</a> </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdfefab19b882fcaa4e51e146b70014b">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae89d7cc37a13fb6682a419e47ad97a31"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.RestoreClone </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>clone</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Hashtable </td>
|
|
<td class="paramname"><em>mapping</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inner helper method for restoring the connections in a network of cloned cells. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab0bc27bc208e6de7fbef26cad23d496f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.SetCollapsed </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>collapsed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aa9e29fca5946a975f3151fd729ebbfd8" title="Sets the collapsed state of the given cell. ">com.mxgraph.mxIGraphModel.SetCollapsed(Object, bool)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aa9e29fca5946a975f3151fd729ebbfd8">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3a8892a8a0a704d5fd759c18b9e04639"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> com.mxgraph.mxGraphModel.SetGeometry </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> </td>
|
|
<td class="paramname"><em>geometry</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a726274a683813f9f8dbfb1e8e95015ad" title="Sets the geometry of the given cell. ">com.mxgraph.mxIGraphModel.SetGeometry(Object, mxGeometry)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a726274a683813f9f8dbfb1e8e95015ad">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a50c4137ed3a246f338eb1d755c40ce10"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string com.mxgraph.mxGraphModel.SetStyle </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>style</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b" title="Sets the style of the given cell. ">com.mxgraph.mxIGraphModel.SetStyle(Object, string)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aae517f6ae9e0dbb8fa59a63636c2d725"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.SetTerminal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>edge</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>terminal</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>source</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sets the source or target terminal of the given edge using. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">edge</td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td class="paramname">terminal</td><td>Cell that specifies the new terminal.</td></tr>
|
|
<tr><td class="paramname">source</td><td>Boolean indicating if the terminal is the new source or target terminal of the edge.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a6f57467fa9f0886e1ee43777c4abb3f3">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5937717eb03276a11807743b5e292036"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void com.mxgraph.mxGraphModel.SetTerminals </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </td>
|
|
<td class="paramname"><em>model</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>edge</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>target</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sets the source and target of the given edge in a single atomic change. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">model</td><td>Model that contains the graph.</td></tr>
|
|
<tr><td class="paramname">edge</td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td class="paramname">source</td><td>Cell that specifies the new source terminal.</td></tr>
|
|
<tr><td class="paramname">target</td><td>Cell that specifies the new target terminal.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a03343d292683b6db4662121e9e3cb780"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com.mxgraph.mxGraphModel.SetValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a106592d04d501478143594bb3822fe47" title="Sets the user object of then given cell. ">com.mxgraph.mxIGraphModel.SetValue(Object, Object)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a106592d04d501478143594bb3822fe47">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a51a0dd4569d00a19aedd3f59acea8fc5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.SetVisible </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>visible</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a11faed388a4b66de80863e768fdde957" title="Sets the visible state of the given cell. ">com.mxgraph.mxIGraphModel.SetVisible(Object, bool)</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a11faed388a4b66de80863e768fdde957">com.mxgraph.mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a06e516f7be32d17847bae68475caa892"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.UpdateEdgeParent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>edge</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>root</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inner helper method to update the parent of the specified edge to the nearest-common-ancestor of its two terminals. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">edge</td><td>Specifies the edge to be updated.</td></tr>
|
|
<tr><td class="paramname">root</td><td>Current root of the model.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html#aba28697d89da4cef532a11122e5e33d2">com.mxgraph.mxGeometry.Clone()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af8db42fb432eefd92ba93dd3cdaa9b89"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.UpdateEdgeParents </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Updates the parents of the edges connected to the given cell and all its descendants so that each edge is contained in the nearest common ancestor. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose edges should be checked and updated.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac6b38204777758455270e98e43777256"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGraphModel.UpdateEdgeParents </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>root</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Updates the parents of the edges connected to the given cell and all its descendants so that the edge is contained in the nearest-common-ancestor. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose edges should be checked and updated.</td></tr>
|
|
<tr><td class="paramname">root</td><td>Root of the cell hierarchy that contains all cells.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="a0a24b807cfff58dff8069fe2e1f38254"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Dictionary<Object, Object> com.mxgraph.mxGraphModel.cells</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Maps from Ids to cells. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a64ca999a09eac7cc861e8e8afe45cc4c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.createIds = true</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a57020a72faf9fe3a55f0d0c623616947"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.maintainEdgeParent = true</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Specifies if the parent of edges should be automatically change to point to the nearest common ancestor of its terminals. Default is true. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a83ee9a605f680689e7d6632306a56f15"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com.mxgraph.mxGraphModel.nextId = 0</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Specifies the next Id to be created. Initial value is 0. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a80296b5b88a8341cb9a5a6f0514b00e4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> com.mxgraph.mxGraphModel.root</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab81739d5e15b933f1152986d84499f7d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com.mxgraph.mxGraphModel.updateLevel = 0</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Counter for the depth of nested transactions. Each call to beginUpdate increments this counter and each call to endUpdate decrements it. When the counter reaches 0, the transaction is closed and the respective events are fired. Initial value is 0. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Property Documentation</h2>
|
|
<a class="anchor" id="af819a7be43f76d56a5bd3ced931170e8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsCreateIds</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sets or returns if the model automatically creates Ids and resolves Id collisions. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ace98ecfeedb6c248d0f437c470eb3eec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGraphModel.IsMaintainEdgeParent</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sets of returns if edges should automatically be moved into the nearest common ancestor of their terminals. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Event Documentation</h2>
|
|
<a class="anchor" id="ae25e802cfd2636d859971b86407c2bc3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespacecom_1_1mxgraph.html#abd1246a669b8db904a28aafc0336499f">mxGraphModelChangeEventHandler</a> com.mxgraph.mxGraphModel.GraphModelChange</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Fires when the graph model has changed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/model/mxGraphModel.cs</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Fri Aug 28 2015 15:39:52 for mxGraph by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|