maxGraph/dotnet/docs/html/interfacecom_1_1mxgraph_1_1...

137 lines
6.6 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::mxIGraphLayout Interface 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&nbsp;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&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html">mxIGraphLayout</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxIGraphLayout Interface Reference</h1><!-- doxytag: class="com::mxgraph::mxIGraphLayout" -->
<p>Defines the requirements for an object that implements a graph layout.
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com::mxgraph::mxIGraphLayout:</div>
<div class="dynsection">
<div class="center">
<img src="interfacecom_1_1mxgraph_1_1mxIGraphLayout.png" usemap="#com::mxgraph::mxIGraphLayout_map" alt=""/>
<map id="com::mxgraph::mxIGraphLayout_map" name="com::mxgraph::mxIGraphLayout_map">
<area href="classcom_1_1mxgraph_1_1mxFastOrganicLayout.html" alt="com::mxgraph::mxFastOrganicLayout" shape="rect" coords="0,56,218,80"/>
</map>
</div>
</div>
<p><a href="interfacecom_1_1mxgraph_1_1mxIGraphLayout-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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#a02f76b81716fa481fa9758cebb9f3c57">execute</a> (Object parent)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Executes the layout for the children of the specified parent. <a href="#a02f76b81716fa481fa9758cebb9f3c57"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#aa7f61ebc0e14a39947ae016393501309">move</a> (Object cell, double x, double y)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible. <a href="#aa7f61ebc0e14a39947ae016393501309"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Defines the requirements for an object that implements a graph layout. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a02f76b81716fa481fa9758cebb9f3c57"></a><!-- doxytag: member="com::mxgraph::mxIGraphLayout::execute" ref="a02f76b81716fa481fa9758cebb9f3c57" args="(Object parent)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxIGraphLayout::execute </td>
<td>(</td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>parent</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Executes the layout for the children of the specified 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>parent</em>&nbsp;</td><td>Parent cell that contains the children to be layed out.</td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxFastOrganicLayout.html#af9dae378277ec3bd6c780e66e653b127">com::mxgraph::mxFastOrganicLayout</a>.</p>
</div>
</div>
<a class="anchor" id="aa7f61ebc0e14a39947ae016393501309"></a><!-- doxytag: member="com::mxgraph::mxIGraphLayout::move" ref="aa7f61ebc0e14a39947ae016393501309" args="(Object cell, double x, double y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxIGraphLayout::move </td>
<td>(</td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>cell</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible. </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>&nbsp;</td><td>Cell which is being moved.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the new cell location.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the new cell location.</td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxFastOrganicLayout.html#a3a6d6b7697d013125bef0acaadd7d179">com::mxgraph::mxFastOrganicLayout</a>.</p>
</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/layout/mxIGraphLayout.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Dec 18 13:18:35 2012 for mxGraph by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>