2281 lines
127 KiB
HTML
2281 lines
127 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"/>
|
|
<title>mxGraph: com::mxgraph::mxGraphModel Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.6.3 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<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 class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html">mxGraphModel</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>com::mxgraph::mxGraphModel Class Reference</h1><!-- doxytag: class="com::mxgraph::mxGraphModel" --><!-- doxytag: inherits="com::mxgraph::mxIGraphModel" -->
|
|
<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="#_details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com::mxgraph::mxGraphModel:</div>
|
|
<div class="dynsection">
|
|
<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" alt="com::mxgraph::mxIGraphModel" shape="rect" coords="0,0,183,24"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxGraphModel-members.html">List of all members.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a7c444bb29a58faaa378c880da3774970">mxGraphModel</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new empty graph model. <a href="#a7c444bb29a58faaa378c880da3774970"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aad91ceecf69a011e28e8e002c9c543f9">mxGraphModel</a> (Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a1c799c216f6ee4d379aeb3161d04462c">root</a>)</td></tr>
|
|
<tr><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...">mxCell</a> with a default layer is created. <a href="#aad91ceecf69a011e28e8e002c9c543f9"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a65b3f3bb8af1d71cacf71420564b7bae">Clear</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a new root using createRoot. <a href="#a65b3f3bb8af1d71cacf71420564b7bae"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ad28b035282fccfb73511cf9faae6202f">CreateRoot</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new root cell with a default layer (child 0). <a href="#ad28b035282fccfb73511cf9faae6202f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a9de276da9dd69f4249e80b798a317f2e">GetCell</a> (string id)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#adb5ffb8b1a05c3c77b26a04f06594a29">CloneCells</a> (Object[] <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a11aae87bbc54a67fe354ab8cf95d641d">cells</a>, bool includeChildren)</td></tr>
|
|
<tr><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="#adb5ffb8b1a05c3c77b26a04f06594a29"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ad07cda5ced546c2b04a34120a779c8ca">IsAncestor</a> (Object parent, Object child)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given parent is an ancestor of child. <a href="#ad07cda5ced546c2b04a34120a779c8ca"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aa9ba8b0716a8662bcedbdfb56166b4af">Contains</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the model contains the given cell. <a href="#aa9ba8b0716a8662bcedbdfb56166b4af"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a49cfdcb77a6fd6882c643c325e3d914b">GetParent</a> (Object child)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent of the given cell. <a href="#a49cfdcb77a6fd6882c643c325e3d914b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a6a9df7876d2ca6179d58a9b3be663a1c">Add</a> (Object parent, Object child, int index)</td></tr>
|
|
<tr><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="#a6a9df7876d2ca6179d58a9b3be663a1c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae7c6fc9bc3f23dbad10b2cd624116ff6">CreateId</a> (Object cell)</td></tr>
|
|
<tr><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="#ae7c6fc9bc3f23dbad10b2cd624116ff6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a3db316aa8f0a092e8a93a75235c6a24f">Remove</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a7c47f2459ce0dcdae38c35afa4ed1ffc" title="Removes the specified cell from the model. This operation will remove the cell and...">com.mxgraph.mxIGraphModel.Remove(Object)</a> <a href="#a3db316aa8f0a092e8a93a75235c6a24f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a29a48f5ced94431792f2d476bb154c4e">GetChildCount</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of children in the given cell. <a href="#a29a48f5ced94431792f2d476bb154c4e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a68c9439005fe5fb515743065bf555f57">GetChildAt</a> (Object parent, int index)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the child of the given parent at the given index. <a href="#a68c9439005fe5fb515743065bf555f57"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a8fd2e93ac9f300a20140a828eecbfbac">GetTerminal</a> (Object edge, bool isSource)</td></tr>
|
|
<tr><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="#a8fd2e93ac9f300a20140a828eecbfbac"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a0285540160fcf7de39a997c6f6a201ff">SetTerminal</a> (Object edge, Object terminal, bool isSource)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the source or target terminal of the given edge using. <a href="#a0285540160fcf7de39a997c6f6a201ff"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a2953504aaaf27b03084ae77e4c1ca892">UpdateEdgeParents</a> (Object cell)</td></tr>
|
|
<tr><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="#a2953504aaaf27b03084ae77e4c1ca892"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a488034701fa7abbd3af217b4e36ef21d">UpdateEdgeParents</a> (Object cell, Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a1c799c216f6ee4d379aeb3161d04462c">root</a>)</td></tr>
|
|
<tr><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="#a488034701fa7abbd3af217b4e36ef21d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#af87d0672edad8ddd5bf2444d18b9dd5e">UpdateEdgeParent</a> (Object edge, Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a1c799c216f6ee4d379aeb3161d04462c">root</a>)</td></tr>
|
|
<tr><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="#af87d0672edad8ddd5bf2444d18b9dd5e"></a><br/></td></tr>
|
|
<tr><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#acaeea26b9d46e48a4df676fb0ea263f3">GetOrigin</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the absolute, cummulated origin for the children inside the given parent. <a href="#acaeea26b9d46e48a4df676fb0ea263f3"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a7489dd878b15a7d2413b0dac26fff89e">GetNearestCommonAncestor</a> (Object cell1, Object cell2)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the nearest common ancestor for the specified cells. <a href="#a7489dd878b15a7d2413b0dac26fff89e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aaeec9051d010a0f4e94d83e15ecad4ee">GetEdgeCount</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a8d58a0dafc0e77a7a3f207f5815ef245" title="Returns the number of distinct edges connected to the given cell.">com.mxgraph.mxIGraphModel.GetEdgeCount(Object)</a> <a href="#aaeec9051d010a0f4e94d83e15ecad4ee"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a5d0e2e8782724472c7aef4257730e075">GetEdgeAt</a> (Object parent, int index)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ae2824a854e3533480e819f9056e4bb91" title="Returns the edge of cell at the given index.">com.mxgraph.mxIGraphModel.GetEdgeAt(Object, int)</a> <a href="#a5d0e2e8782724472c7aef4257730e075"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae0421f7bbf1eeb7b1363ad00274b4eb4">IsVertex</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#af30f07add01ec93144ffc00d843828fc" title="Returns true if the given cell is a vertex.">com.mxgraph.mxIGraphModel.IsVertex(Object)</a> <a href="#ae0421f7bbf1eeb7b1363ad00274b4eb4"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a3ef44b271e5419fb4a5c6997cb78f26d">IsEdge</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aff2fb4b36db5ee3a101feba394436b86" title="Returns true if the given cell is an edge.">com.mxgraph.mxIGraphModel.IsEdge(Object)</a> <a href="#a3ef44b271e5419fb4a5c6997cb78f26d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#afd31c7bec1b0dd657cfd9a6f638a9a20">IsConnectable</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3db1b6eda5906acbb5114361c91968c0" title="Returns true if the given cell is connectable.">com.mxgraph.mxIGraphModel.IsConnectable(Object)</a> <a href="#afd31c7bec1b0dd657cfd9a6f638a9a20"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aafb18bf952de87baba5a3453e222677b">GetValue</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a77a36629de99d4d6a14236ed0c1666e3" title="Returns the user object of the given cell.">com.mxgraph.mxIGraphModel.GetValue(Object)</a> <a href="#aafb18bf952de87baba5a3453e222677b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a73ee199d8b3dd322e97eb4fb07ca407f">SetValue</a> (Object cell, Object value)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#afd9cac91d73998f8457285bae5c95689" title="Sets the user object of then given cell.">com.mxgraph.mxIGraphModel.SetValue(Object, Object)</a> <a href="#a73ee199d8b3dd322e97eb4fb07ca407f"></a><br/></td></tr>
|
|
<tr><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#a8d4e41dafd2e678786375489e3a7c2c6">GetGeometry</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad79ee951c1a46d126d1f714bd77b5331" title="Returns the geometry of the given cell.">com.mxgraph.mxIGraphModel.GetGeometry(Object)</a> <a href="#a8d4e41dafd2e678786375489e3a7c2c6"></a><br/></td></tr>
|
|
<tr><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#a78ccddb2f444c5eb701916d9ca052028">SetGeometry</a> (Object cell, <a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> geometry)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a80f4bfe3ebd152ee3d77ec20a70bcc9d" title="Sets the geometry of the given cell.">com.mxgraph.mxIGraphModel.SetGeometry(Object, mxGeometry)</a> <a href="#a78ccddb2f444c5eb701916d9ca052028"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a21d37523be9a952040d58b9ea968a43e">GetStyle</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad63404d0f7af96acee601960b8cc4963" title="Returns the style of the given cell.">com.mxgraph.mxIGraphModel.GetStyle(Object)</a> <a href="#a21d37523be9a952040d58b9ea968a43e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a93a1ced4d1eed980881c3223b5b34b03">SetStyle</a> (Object cell, string style)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a960ffa631d4199d149b4e889b480db48" title="Sets the style of the given cell.">com.mxgraph.mxIGraphModel.SetStyle(Object, string)</a> <a href="#a93a1ced4d1eed980881c3223b5b34b03"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a4cb43b44cd6b8c48b48b6c16e82f3d07">IsVisible</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a8d6b5254a9a124ef7e82b49eb9d4209b" title="Returns true if the given cell is visible.">com.mxgraph.mxIGraphModel.IsVisible(Object)</a> <a href="#a4cb43b44cd6b8c48b48b6c16e82f3d07"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ad3c76b19d99dd08f2f5aa96e8e1ba52b">SetVisible</a> (Object cell, bool visible)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a681fede1578933f051041b3ba4f01129" title="Sets the visible state of the given cell.">com.mxgraph.mxIGraphModel.SetVisible(Object, bool)</a> <a href="#ad3c76b19d99dd08f2f5aa96e8e1ba52b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a20cd81d1e947de7224b1b9477aaf9014">IsCollapsed</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a18315c42e0fe1cc594a956342c2dda9a" title="Returns true if the given cell is collapsed.">com.mxgraph.mxIGraphModel.IsCollapsed(Object)</a> <a href="#a20cd81d1e947de7224b1b9477aaf9014"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a05f6ea80a4577097b2614fc8e98b06d2">SetCollapsed</a> (Object cell, bool collapsed)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a5ea04a022893866cffcbb53044c5171c" title="Sets the collapsed state of the given cell.">com.mxgraph.mxIGraphModel.SetCollapsed(Object, bool)</a> <a href="#a05f6ea80a4577097b2614fc8e98b06d2"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab56861ed391e6f4a47ecc2f844a5d02d">BeginUpdate</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a201180e5435be27e37666fe724cb810b" title="Increments the updateLevel by one. The event notification is queued until updateLevel...">com.mxgraph.mxIGraphModel.BeginUpdate()</a> <a href="#ab56861ed391e6f4a47ecc2f844a5d02d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aaf217675b10e484a5579be55ca97d402">EndUpdate</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ac0f0b916828467fbcde0e140f5384da3" title="Decrements the updateLevel by one and fires a notification event if the updateLevel...">com.mxgraph.mxIGraphModel.EndUpdate()</a> <a href="#aaf217675b10e484a5579be55ca97d402"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#afad8a9d1b1be0fd85281c2a31b1a74e0">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><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="#afad8a9d1b1be0fd85281c2a31b1a74e0"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
|
|
<tr><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#a6c912d6529f16564373895566abcd254">GetDirectedEdgeCount</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell, bool outgoing)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of incoming or outgoing edges. <a href="#a6c912d6529f16564373895566abcd254"></a><br/></td></tr>
|
|
<tr><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#a58ee9a7ac4e8fa2bb62714752096b5be">GetDirectedEdgeCount</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell, bool outgoing, Object ignoredEdge)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of incoming or outgoing edges, ignoring the given edge. <a href="#a58ee9a7ac4e8fa2bb62714752096b5be"></a><br/></td></tr>
|
|
<tr><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#a07977778052726940b0877913bafbcf9">GetEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns all edges connected to this cell including loops. <a href="#a07977778052726940b0877913bafbcf9"></a><br/></td></tr>
|
|
<tr><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#acf2499827661d10d689a5b18cc6b5932">GetConnections</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns all edges connected to this cell without loops. <a href="#acf2499827661d10d689a5b18cc6b5932"></a><br/></td></tr>
|
|
<tr><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#a073880bd062bfba172b8fdd0ff722013">GetIncomingEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the incoming edges of the given cell without loops. <a href="#a073880bd062bfba172b8fdd0ff722013"></a><br/></td></tr>
|
|
<tr><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#a094b9e0cceb1a81fdca855205a049484">GetOutgoingEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the outgoing edges of the given cell without loops. <a href="#a094b9e0cceb1a81fdca855205a049484"></a><br/></td></tr>
|
|
<tr><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#a62fa392e2e593a62b10640dfa9b42e05">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><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="#a62fa392e2e593a62b10640dfa9b42e05"></a><br/></td></tr>
|
|
<tr><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#acb693807ec1617511fac53c3512b57a4">GetEdgesBetween</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object source, Object target)</td></tr>
|
|
<tr><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="#acb693807ec1617511fac53c3512b57a4"></a><br/></td></tr>
|
|
<tr><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#a324685eb7e4cee9a75c65f71129e19d6">GetEdgesBetween</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object source, Object target, bool directed)</td></tr>
|
|
<tr><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="#a324685eb7e4cee9a75c65f71129e19d6"></a><br/></td></tr>
|
|
<tr><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#a6952674f7dfa52535bbffc6f5f35c276">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><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="#a6952674f7dfa52535bbffc6f5f35c276"></a><br/></td></tr>
|
|
<tr><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#a9980a787ac66f3a9c8586e155699b2c2">SetTerminals</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object edge, Object source, Object target)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the source and target of the given edge in a single atomic change. <a href="#a9980a787ac66f3a9c8586e155699b2c2"></a><br/></td></tr>
|
|
<tr><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#ac7bef691abcdbd54307f3848075f4d91">getChildVertices</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object parent)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the child vertices of the given parent. <a href="#ac7bef691abcdbd54307f3848075f4d91"></a><br/></td></tr>
|
|
<tr><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#a638548b1f8d3025faab5e3549e44bbc4">getChildEdges</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object parent)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the child edges of the given parent. <a href="#a638548b1f8d3025faab5e3549e44bbc4"></a><br/></td></tr>
|
|
<tr><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#afc0e95ba7217a76435d2144012a8bea7">getChildCells</a> (<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> model, Object parent, bool vertices, bool edges)</td></tr>
|
|
<tr><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="#afc0e95ba7217a76435d2144012a8bea7"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#abe24b1fd2e8bac0e8e5fce1b761c06d9">CloneCell</a> (Object cell, Hashtable mapping, bool includeChildren)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inner helper method for cloning cells recursively. <a href="#abe24b1fd2e8bac0e8e5fce1b761c06d9"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a60713556b96f3500044c0842aa29c58d">RestoreClone</a> (Object clone, Object cell, Hashtable mapping)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inner helper method for restoring the connections in a network of cloned cells. <a href="#a60713556b96f3500044c0842aa29c58d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a4e6d214045580295f508d94ddb121268">CellAdded</a> (Object cell)</td></tr>
|
|
<tr><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="#a4e6d214045580295f508d94ddb121268"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a29c373be3c557e7f4b0489d69954c2c8">CellRemoved</a> (Object cell)</td></tr>
|
|
<tr><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="#a29c373be3c557e7f4b0489d69954c2c8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#abf108384d5234690497fff50c730b1d3">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><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="#abf108384d5234690497fff50c730b1d3"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
|
|
<tr><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#a1c799c216f6ee4d379aeb3161d04462c">root</a></td></tr>
|
|
<tr><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="#a1c799c216f6ee4d379aeb3161d04462c"></a><br/></td></tr>
|
|
<tr><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#a11aae87bbc54a67fe354ab8cf95d641d">cells</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Maps from Ids to cells. <a href="#a11aae87bbc54a67fe354ab8cf95d641d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a912b286b4d318dc633b1e7a28630f309">createIds</a> = true</td></tr>
|
|
<tr><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="#a912b286b4d318dc633b1e7a28630f309"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a4d88460742c510d5dc6ac476bba92ad1">maintainEdgeParent</a> = true</td></tr>
|
|
<tr><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="#a4d88460742c510d5dc6ac476bba92ad1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a22d9376162b40a748beb1058df22cb9c">nextId</a> = 0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies the next Id to be created. Initial value is 0. <a href="#a22d9376162b40a748beb1058df22cb9c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a20904785867391502b5bd953f14cbf1c">updateLevel</a> = 0</td></tr>
|
|
<tr><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="#a20904785867391502b5bd953f14cbf1c"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Properties</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a4f55cfe5f9b3904db74ad352192a4157">IsMaintainEdgeParent</a><code> [get, set]</code></td></tr>
|
|
<tr><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="#a4f55cfe5f9b3904db74ad352192a4157"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae53c41ce3c1bbfcdd1512fb863867841">IsCreateIds</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns if the model automatically creates Ids and resolves Id collisions. <a href="#ae53c41ce3c1bbfcdd1512fb863867841"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a1e682481294b64ba2e7859da9760008e">Root</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the root cell. <a href="#a1e682481294b64ba2e7859da9760008e"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Events</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">mxGraphModelChangeEventHandler </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a0d3f6bf19b8c13b0d1445d3d4adf9b6e">GraphModelChange</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fires when the graph model has changed. <a href="#a0d3f6bf19b8c13b0d1445d3d4adf9b6e"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<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>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a7c444bb29a58faaa378c880da3774970"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::mxGraphModel" ref="a7c444bb29a58faaa378c880da3774970" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxGraphModel::mxGraphModel </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new empty graph model. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aad91ceecf69a011e28e8e002c9c543f9"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::mxGraphModel" ref="aad91ceecf69a011e28e8e002c9c543f9" args="(Object root)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></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...">mxCell</a> with a default layer is created. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>root</em> </td><td>Cell that represents the root cell.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a6a9df7876d2ca6179d58a9b3be663a1c"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::Add" ref="a6a9df7876d2ca6179d58a9b3be663a1c" args="(Object parent, Object child, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell that specifies the parent to contain the child.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>Cell that specifies the child to be inserted.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>Integer that specifies the index of the child.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the inserted child.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ab18ea07aec23bfbce6c7489269c0985c">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab56861ed391e6f4a47ecc2f844a5d02d"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::BeginUpdate" ref="ab56861ed391e6f4a47ecc2f844a5d02d" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com::mxgraph::mxGraphModel::BeginUpdate </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a201180e5435be27e37666fe724cb810b" title="Increments the updateLevel by one. The event notification is queued until updateLevel...">com.mxgraph.mxIGraphModel.BeginUpdate()</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a201180e5435be27e37666fe724cb810b">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4e6d214045580295f508d94ddb121268"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::CellAdded" ref="a4e6d214045580295f508d94ddb121268" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline, protected]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell that has been added.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a29c373be3c557e7f4b0489d69954c2c8"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::CellRemoved" ref="a29c373be3c557e7f4b0489d69954c2c8" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline, protected]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell that has been removed.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a65b3f3bb8af1d71cacf71420564b7bae"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::Clear" ref="a65b3f3bb8af1d71cacf71420564b7bae" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com::mxgraph::mxGraphModel::Clear </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets a new root using createRoot. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abe24b1fd2e8bac0e8e5fce1b761c06d9"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::CloneCell" ref="abe24b1fd2e8bac0e8e5fce1b761c06d9" args="(Object cell, Hashtable mapping, bool includeChildren)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Inner helper method for cloning cells recursively. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adb5ffb8b1a05c3c77b26a04f06594a29"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::CloneCells" ref="adb5ffb8b1a05c3c77b26a04f06594a29" args="(Object[] cells, bool includeChildren)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cells</em> </td><td>Array of cells to be cloned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>includeChildren</em> </td><td>Boolean indicating if the cells should be cloned with all descendants.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a cloned array of cells.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a6457526895ee16775a43819bbdc3b713">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa9ba8b0716a8662bcedbdfb56166b4af"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::Contains" ref="aa9ba8b0716a8662bcedbdfb56166b4af" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the model contains the given cell. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell to be checked.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></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#a831a9721313f6770e6af7dc418d9ee39">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae7c6fc9bc3f23dbad10b2cd624116ff6"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::CreateId" ref="ae7c6fc9bc3f23dbad10b2cd624116ff6" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell for which a new Id should be created.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a new Id for the given cell.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad28b035282fccfb73511cf9faae6202f"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::CreateRoot" ref="ad28b035282fccfb73511cf9faae6202f" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxGraphModel::CreateRoot </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></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="aaf217675b10e484a5579be55ca97d402"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::EndUpdate" ref="aaf217675b10e484a5579be55ca97d402" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com::mxgraph::mxGraphModel::EndUpdate </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ac0f0b916828467fbcde0e140f5384da3" title="Decrements the updateLevel by one and fires a notification event if the updateLevel...">com.mxgraph.mxIGraphModel.EndUpdate()</a> </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ac0f0b916828467fbcde0e140f5384da3">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9de276da9dd69f4249e80b798a317f2e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetCell" ref="a9de276da9dd69f4249e80b798a317f2e" args="(string id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a68c9439005fe5fb515743065bf555f57"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetChildAt" ref="a68c9439005fe5fb515743065bf555f57" args="(Object parent, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the child of the given parent at the given index. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell that represents the parent.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>Integer that specifies the index of the child to be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the child at index in parent.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a34bc3935f8286a91f53a32fd20da8288">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afc0e95ba7217a76435d2144012a8bea7"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::getChildCells" ref="afc0e95ba7217a76435d2144012a8bea7" args="(mxIGraphModel model, Object parent, bool vertices, bool edges)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the hierarchical information.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell whose child vertices or edges should be returned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>vertices</em> </td><td>Boolean indicating if child vertices should be returned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>edges</em> </td><td>Boolean indicating if child edges should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the child vertices and/or edges of the given parent.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a29a48f5ced94431792f2d476bb154c4e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetChildCount" ref="a29a48f5ced94431792f2d476bb154c4e" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of children in the given cell. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose number of children should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></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#aff7c4cd19bcb91cd264bcb586ccc37b0">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a638548b1f8d3025faab5e3549e44bbc4"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::getChildEdges" ref="a638548b1f8d3025faab5e3549e44bbc4" args="(mxIGraphModel model, Object parent)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the child edges of the given parent. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the hierarchical information.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell whose child edges should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the child edges of the given parent.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac7bef691abcdbd54307f3848075f4d91"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::getChildVertices" ref="ac7bef691abcdbd54307f3848075f4d91" args="(mxIGraphModel model, Object parent)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the child vertices of the given parent. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the hierarchical information.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell whose child vertices should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the child vertices of the given parent.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acf2499827661d10d689a5b18cc6b5932"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetConnections" ref="acf2499827661d10d689a5b18cc6b5932" args="(mxIGraphModel model, Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns all edges connected to this cell without loops. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the connection information</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose connections should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the array of connected edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a58ee9a7ac4e8fa2bb62714752096b5be"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetDirectedEdgeCount" ref="a58ee9a7ac4e8fa2bb62714752096b5be" args="(mxIGraphModel model, Object cell, bool outgoing, Object ignoredEdge)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of incoming or outgoing edges, ignoring the given edge. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Graph model that contains the connection data.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose edges should be counted.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>outgoing</em> </td><td>Boolean that specifies if the number of outgoing or incoming edges should be returned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>ignoredEdge</em> </td><td>Object that represents an edge to be ignored.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6c912d6529f16564373895566abcd254"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetDirectedEdgeCount" ref="a6c912d6529f16564373895566abcd254" args="(mxIGraphModel model, Object cell, bool outgoing)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of incoming or outgoing edges. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Graph model that contains the connection data.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose edges should be counted.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>outgoing</em> </td><td>Boolean that specifies if the number of outgoing or incoming edges should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5d0e2e8782724472c7aef4257730e075"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetEdgeAt" ref="a5d0e2e8782724472c7aef4257730e075" args="(Object parent, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ae2824a854e3533480e819f9056e4bb91" 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#ae2824a854e3533480e819f9056e4bb91">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaeec9051d010a0f4e94d83e15ecad4ee"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetEdgeCount" ref="aaeec9051d010a0f4e94d83e15ecad4ee" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a8d58a0dafc0e77a7a3f207f5815ef245" 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#a8d58a0dafc0e77a7a3f207f5815ef245">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a62fa392e2e593a62b10640dfa9b42e05"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetEdges" ref="a62fa392e2e593a62b10640dfa9b42e05" args="(mxIGraphModel model, Object cell, bool incoming, bool outgoing, bool includeLoops)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the connection information</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose connections should be returned</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>incoming</em> </td><td>Specifies if incoming edges should be returned</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>outgoing</em> </td><td>Specifies if outgoing edges should be returned</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>includeLoops</em> </td><td>Specifies if loops should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the array of connected edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a07977778052726940b0877913bafbcf9"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetEdges" ref="a07977778052726940b0877913bafbcf9" args="(mxIGraphModel model, Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns all edges connected to this cell including loops. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the connection information</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose connections should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a324685eb7e4cee9a75c65f71129e19d6"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetEdgesBetween" ref="a324685eb7e4cee9a75c65f71129e19d6" args="(mxIGraphModel model, Object source, Object target, bool directed)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>The graph model that contains the graph.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </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...">mxCell</a> that defines the source terminal of the edge to be returned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>target</em> </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...">mxCell</a> that defines the target terminal of the edge to be returned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>directed</em> </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="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acb693807ec1617511fac53c3512b57a4"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetEdgesBetween" ref="acb693807ec1617511fac53c3512b57a4" args="(mxIGraphModel model, Object source, Object target)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>target</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d4e41dafd2e678786375489e3a7c2c6"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetGeometry" ref="a8d4e41dafd2e678786375489e3a7c2c6" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad79ee951c1a46d126d1f714bd77b5331" 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#ad79ee951c1a46d126d1f714bd77b5331">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a073880bd062bfba172b8fdd0ff722013"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetIncomingEdges" ref="a073880bd062bfba172b8fdd0ff722013" args="(mxIGraphModel model, Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the incoming edges of the given cell without loops. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Graphmodel that contains the edges</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose incoming edges should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the incoming edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7489dd878b15a7d2413b0dac26fff89e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetNearestCommonAncestor" ref="a7489dd878b15a7d2413b0dac26fff89e" args="(Object cell1, Object cell2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the nearest common ancestor for the specified cells. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell1</em> </td><td>Cell that specifies the first cell in the tree.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell2</em> </td><td>Cell that specifies the second cell in the tree.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the nearest common ancestor of the given cells.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6952674f7dfa52535bbffc6f5f35c276"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetOpposites" ref="a6952674f7dfa52535bbffc6f5f35c276" args="(mxIGraphModel model, Object[] edges, Object terminal, bool sources, bool targets)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the graph.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>edges</em> </td><td>Array of edges to be examined.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>terminal</em> </td><td>Cell that specifies the known end of the edges.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>sources</em> </td><td>Boolean that specifies if source terminals should be contained in the result. Default is true.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>targets</em> </td><td>Boolean that specifies if target terminals should be contained in the result. Default is true.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the array of opposite terminals for the given edges.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acaeea26b9d46e48a4df676fb0ea263f3"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetOrigin" ref="acaeea26b9d46e48a4df676fb0ea263f3" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></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="a094b9e0cceb1a81fdca855205a049484"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetOutgoingEdges" ref="a094b9e0cceb1a81fdca855205a049484" args="(mxIGraphModel model, Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the outgoing edges of the given cell without loops. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Graphmodel that contains the edges</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose outgoing edges should be returned</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the outgoing edges for the given cell</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a49cfdcb77a6fd6882c643c325e3d914b"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetParent" ref="a49cfdcb77a6fd6882c643c325e3d914b" args="(Object child)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the parent of the given cell. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>Cell whose parent should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the parent of the given cell.</dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#af29849ffb09c0e0b75e77bda332f4d31">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a21d37523be9a952040d58b9ea968a43e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetStyle" ref="a21d37523be9a952040d58b9ea968a43e" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad63404d0f7af96acee601960b8cc4963" 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#ad63404d0f7af96acee601960b8cc4963">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8fd2e93ac9f300a20140a828eecbfbac"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetTerminal" ref="a8fd2e93ac9f300a20140a828eecbfbac" args="(Object edge, bool isSource)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>edge</em> </td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </td><td>Boolean indicating which end of the edge should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></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#a1d8a16d05ca148439990b10f3c6a27c5">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aafb18bf952de87baba5a3453e222677b"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GetValue" ref="aafb18bf952de87baba5a3453e222677b" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a77a36629de99d4d6a14236ed0c1666e3" 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#a77a36629de99d4d6a14236ed0c1666e3">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad07cda5ced546c2b04a34120a779c8ca"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsAncestor" ref="ad07cda5ced546c2b04a34120a779c8ca" args="(Object parent, Object child)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given parent is an ancestor of child. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell that specifies the parent.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>Cell that specifies the child.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></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#a57eec23a248ff711df8aa868f2228640">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a20cd81d1e947de7224b1b9477aaf9014"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsCollapsed" ref="a20cd81d1e947de7224b1b9477aaf9014" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a18315c42e0fe1cc594a956342c2dda9a" 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#a18315c42e0fe1cc594a956342c2dda9a">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afd31c7bec1b0dd657cfd9a6f638a9a20"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsConnectable" ref="afd31c7bec1b0dd657cfd9a6f638a9a20" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3db1b6eda5906acbb5114361c91968c0" 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#a3db1b6eda5906acbb5114361c91968c0">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3ef44b271e5419fb4a5c6997cb78f26d"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsEdge" ref="a3ef44b271e5419fb4a5c6997cb78f26d" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aff2fb4b36db5ee3a101feba394436b86" 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#aff2fb4b36db5ee3a101feba394436b86">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae0421f7bbf1eeb7b1363ad00274b4eb4"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsVertex" ref="ae0421f7bbf1eeb7b1363ad00274b4eb4" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#af30f07add01ec93144ffc00d843828fc" 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#af30f07add01ec93144ffc00d843828fc">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4cb43b44cd6b8c48b48b6c16e82f3d07"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsVisible" ref="a4cb43b44cd6b8c48b48b6c16e82f3d07" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a8d6b5254a9a124ef7e82b49eb9d4209b" 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#a8d6b5254a9a124ef7e82b49eb9d4209b">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afad8a9d1b1be0fd85281c2a31b1a74e0"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::MergeChildren" ref="afad8a9d1b1be0fd85281c2a31b1a74e0" args="(mxICell from, mxICell to, bool cloneAllEdges)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>from</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>to</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cloneAllEdges</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abf108384d5234690497fff50c730b1d3"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::MergeChildrenImpl" ref="abf108384d5234690497fff50c730b1d3" args="(mxICell from, mxICell to, bool cloneAllEdges, Dictionary< Object, Object > mapping)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, protected]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>from</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>to</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cloneAllEdges</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>mapping</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3db316aa8f0a092e8a93a75235c6a24f"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::Remove" ref="a3db316aa8f0a092e8a93a75235c6a24f" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a7c47f2459ce0dcdae38c35afa4ed1ffc" title="Removes the specified cell from the model. This operation will remove the cell and...">com.mxgraph.mxIGraphModel.Remove(Object)</a> </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a7c47f2459ce0dcdae38c35afa4ed1ffc">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a60713556b96f3500044c0842aa29c58d"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::RestoreClone" ref="a60713556b96f3500044c0842aa29c58d" args="(Object clone, Object cell, Hashtable mapping)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, protected]</code></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="a05f6ea80a4577097b2614fc8e98b06d2"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetCollapsed" ref="a05f6ea80a4577097b2614fc8e98b06d2" args="(Object cell, bool collapsed)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a5ea04a022893866cffcbb53044c5171c" 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#a5ea04a022893866cffcbb53044c5171c">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a78ccddb2f444c5eb701916d9ca052028"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetGeometry" ref="a78ccddb2f444c5eb701916d9ca052028" args="(Object cell, mxGeometry geometry)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a80f4bfe3ebd152ee3d77ec20a70bcc9d" 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#a80f4bfe3ebd152ee3d77ec20a70bcc9d">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a93a1ced4d1eed980881c3223b5b34b03"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetStyle" ref="a93a1ced4d1eed980881c3223b5b34b03" args="(Object cell, string style)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a960ffa631d4199d149b4e889b480db48" 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#a960ffa631d4199d149b4e889b480db48">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0285540160fcf7de39a997c6f6a201ff"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetTerminal" ref="a0285540160fcf7de39a997c6f6a201ff" args="(Object edge, Object terminal, bool isSource)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the source or target terminal of the given edge using. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>edge</em> </td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>terminal</em> </td><td>Cell that specifies the new terminal.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </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#a74a5bb3bea62d4c8382f15a323d326dc">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9980a787ac66f3a9c8586e155699b2c2"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetTerminals" ref="a9980a787ac66f3a9c8586e155699b2c2" args="(mxIGraphModel model, Object edge, Object source, Object target)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the source and target of the given edge in a single atomic change. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>model</em> </td><td>Model that contains the graph.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>edge</em> </td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </td><td>Cell that specifies the new source terminal.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>target</em> </td><td>Cell that specifies the new target terminal.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a73ee199d8b3dd322e97eb4fb07ca407f"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetValue" ref="a73ee199d8b3dd322e97eb4fb07ca407f" args="(Object cell, Object value)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#afd9cac91d73998f8457285bae5c95689" 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#afd9cac91d73998f8457285bae5c95689">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad3c76b19d99dd08f2f5aa96e8e1ba52b"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::SetVisible" ref="ad3c76b19d99dd08f2f5aa96e8e1ba52b" args="(Object cell, bool visible)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a681fede1578933f051041b3ba4f01129" 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#a681fede1578933f051041b3ba4f01129">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af87d0672edad8ddd5bf2444d18b9dd5e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::UpdateEdgeParent" ref="af87d0672edad8ddd5bf2444d18b9dd5e" args="(Object edge, Object root)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>edge</em> </td><td>Specifies the edge to be updated.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>root</em> </td><td>Current root of the model.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a488034701fa7abbd3af217b4e36ef21d"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::UpdateEdgeParents" ref="a488034701fa7abbd3af217b4e36ef21d" args="(Object cell, Object root)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose edges should be checked and updated.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>root</em> </td><td>Root of the cell hierarchy that contains all cells.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2953504aaaf27b03084ae77e4c1ca892"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::UpdateEdgeParents" ref="a2953504aaaf27b03084ae77e4c1ca892" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<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><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose edges should be checked and updated.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="a11aae87bbc54a67fe354ab8cf95d641d"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::cells" ref="a11aae87bbc54a67fe354ab8cf95d641d" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Dictionary<Object, Object> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a11aae87bbc54a67fe354ab8cf95d641d">com::mxgraph::mxGraphModel::cells</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Maps from Ids to cells. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a912b286b4d318dc633b1e7a28630f309"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::createIds" ref="a912b286b4d318dc633b1e7a28630f309" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a912b286b4d318dc633b1e7a28630f309">com::mxgraph::mxGraphModel::createIds</a> = true<code> [protected]</code></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="a4d88460742c510d5dc6ac476bba92ad1"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::maintainEdgeParent" ref="a4d88460742c510d5dc6ac476bba92ad1" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a4d88460742c510d5dc6ac476bba92ad1">com::mxgraph::mxGraphModel::maintainEdgeParent</a> = true<code> [protected]</code></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="a22d9376162b40a748beb1058df22cb9c"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::nextId" ref="a22d9376162b40a748beb1058df22cb9c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a22d9376162b40a748beb1058df22cb9c">com::mxgraph::mxGraphModel::nextId</a> = 0<code> [protected]</code></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="a1c799c216f6ee4d379aeb3161d04462c"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::root" ref="a1c799c216f6ee4d379aeb3161d04462c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICell.html">mxICell</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a1c799c216f6ee4d379aeb3161d04462c">com::mxgraph::mxGraphModel::root</a><code> [protected]</code></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="a20904785867391502b5bd953f14cbf1c"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::updateLevel" ref="a20904785867391502b5bd953f14cbf1c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a20904785867391502b5bd953f14cbf1c">com::mxgraph::mxGraphModel::updateLevel</a> = 0<code> [protected]</code></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>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="ae53c41ce3c1bbfcdd1512fb863867841"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsCreateIds" ref="ae53c41ce3c1bbfcdd1512fb863867841" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxGraphModel::IsCreateIds<code> [get, set]</code></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="a4f55cfe5f9b3904db74ad352192a4157"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::IsMaintainEdgeParent" ref="a4f55cfe5f9b3904db74ad352192a4157" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxGraphModel::IsMaintainEdgeParent<code> [get, set]</code></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>
|
|
<a class="anchor" id="a1e682481294b64ba2e7859da9760008e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::Root" ref="a1e682481294b64ba2e7859da9760008e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxGraphModel::Root<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the root cell. </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a42b487c0d42d77170d5c0ce002a0a2ca">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Event Documentation</h2>
|
|
<a class="anchor" id="a0d3f6bf19b8c13b0d1445d3d4adf9b6e"></a><!-- doxytag: member="com::mxgraph::mxGraphModel::GraphModelChange" ref="a0d3f6bf19b8c13b0d1445d3d4adf9b6e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">mxGraphModelChangeEventHandler com::mxgraph::mxGraphModel::GraphModelChange</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Fires when the graph model has changed. </p>
|
|
|
|
<p>Implements <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a26dacf83c2ca35265f1f667b4d94adf0">com::mxgraph::mxIGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/model/mxGraphModel.cs</li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri May 25 10:15:54 2012 for mxGraph by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
|
|
</body>
|
|
</html>
|