maxGraph/docs/js-api/index/Functions11.html

34 lines
165 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>Function Index</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
2013-07-25 08:26:27 +00:00
<div id=Index><div class=IPageTitle>Function Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; <a href="Functions.html#A">A</a> &middot; <a href="Functions2.html#B">B</a> &middot; <a href="Functions3.html#C">C</a> &middot; <a href="Functions4.html#D">D</a> &middot; <a href="Functions5.html#E">E</a> &middot; <a href="Functions6.html#F">F</a> &middot; <a href="Functions7.html#G">G</a> &middot; <a href="Functions8.html#H">H</a> &middot; <a href="Functions9.html#I">I</a> &middot; <a href="Functions10.html#J">J</a> &middot; <a href="Functions10.html#K">K</a> &middot; <a href="Functions10.html#L">L</a> &middot; <a href="#M">M</a> &middot; <a href="Functions12.html#N">N</a> &middot; <a href="Functions12.html#O">O</a> &middot; <a href="Functions13.html#P">P</a> &middot; <a href="Functions14.html#Q">Q</a> &middot; <a href="Functions15.html#R">R</a> &middot; <a href="Functions16.html#S">S</a> &middot; <a href="Functions17.html#T">T</a> &middot; <a href="Functions18.html#U">U</a> &middot; <a href="Functions19.html#V">V</a> &middot; <a href="Functions19.html#W">W</a> &middot; X &middot; Y &middot; <a href="Functions19.html#Z">Z</a></div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="M"></a>M</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/util/mxUtils-js.html#mxUtils.makeDraggable" id=link1210 onMouseOver="ShowTip(event, 'tt1208', 'link1210')" onMouseOut="HideTip('tt1208')" class=ISymbol>makeDraggable</a>, <span class=IParent>mxUtils</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/util/mxDictionary-js.html#mxDictionary.map" id=link1211 onMouseOver="ShowTip(event, 'tt1209', 'link1211')" onMouseOut="HideTip('tt1209')" class=ISymbol>map</a>, <span class=IParent>mxDictionary</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>mark</span><div class=ISubIndex><a href="../files/handler/mxCellHighlight-js.html#mxCellHighlight.mark" id=link1212 onMouseOver="ShowTip(event, 'tt1210', 'link1212')" onMouseOut="HideTip('tt1210')" class=IParent>mxCellHighlight</a><a href="../files/handler/mxCellMarker-js.html#mxCellMarker.mark" id=link1213 onMouseOver="ShowTip(event, 'tt1211', 'link1213')" onMouseOut="HideTip('tt1211')" class=IParent>mxCellMarker</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/handler/mxCellMarker-js.html#mxCellMarker.markCell" id=link1214 onMouseOver="ShowTip(event, 'tt1212', 'link1214')" onMouseOut="HideTip('tt1212')" class=ISymbol>markCell</a>, <span class=IParent>mxCellMarker</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/layout/hierarchical/model/mxSwimlaneModel-js.html#mxSwimlaneModel.maxChainDfs" id=link1215 onMouseOver="ShowTip(event, 'tt1213', 'link1215')" onMouseOut="HideTip('tt1213')" class=ISymbol>maxChainDfs</a>, <span class=IParent>mxSwimlaneModel</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html#MedianCellSorter.MedianCellSorter" id=link1216 onMouseOver="ShowTip(event, 'tt1214', 'link1216')" onMouseOut="HideTip('tt1214')" class=ISymbol>MedianCellSorter</a>, <span class=IParent>MedianCellSorter</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/layout/hierarchical/stage/mxCoordinateAssignment-js.html#mxCoordinateAssignment.medianPos" id=link1217 onMouseOver="ShowTip(event, 'tt1215', 'link1217')" onMouseOut="HideTip('tt1215')" class=ISymbol>medianPos</a>, <span class=IParent>mxCoordinateAssignment</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html#mxMedianHybridCrossingReduction.medianRank" id=link1218 onMouseOver="ShowTip(event, 'tt1216', 'link1218')" onMouseOut="HideTip('tt1216')" class=ISymbol>medianRank</a>, <span class=IParent>mxMedianHybridCrossingReduction</span></td></tr><tr
2012-05-21 20:32:26 +00:00
<!--START_ND_TOOLTIPS-->
2013-07-25 08:26:27 +00:00
<div class=CToolTip id="tt1208"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>makeDraggable: function(</td><td class=PParameter nowrap>element,</td></tr><tr><td></td><td class=PParameter nowrap>graphF,</td></tr><tr><td></td><td class=PParameter nowrap>funct,</td></tr><tr><td></td><td class=PParameter nowrap>dragElement,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>autoscroll,</td></tr><tr><td></td><td class=PParameter nowrap>scalePreview,</td></tr><tr><td></td><td class=PParameter nowrap>highlightDropTargets,</td></tr><tr><td></td><td class=PParameter nowrap>getDropTarget</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Configures the given DOM element to act as a drag source for the specified graph. </div></div><div class=CToolTip id="tt1209"><div class=CFunction>Stores the (key, value) pairs in this dictionary.</div></div><div class=CToolTip id="tt1210"><div class=CFunction>Marks the markedState and fires a mark event.</div></div><div class=CToolTip id="tt1211"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCellMarker.prototype.mark = function()</td></tr></table></blockquote>Marks the markedState and fires a mark event.</div></div><div class=CToolTip id="tt1212"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxCellMarker.prototype.markCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>color</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Marks the given cell using the given color, or validColor if no color is specified.</div></div><div class=CToolTip id="tt1213"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxSwimlaneModel.prototype.maxChainDfs = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>root,</td></tr><tr><td></td><td class=PParameter nowrap>connectingEdge,</td></tr><tr><td></td><td class=PParameter nowrap>seen,</td></tr><tr><td></td><td class=PParameter nowrap>chainCount</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Performs a depth first search on the internal hierarchy model. </div></div><div class=CToolTip id="tt1214"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function MedianCellSorter()</td></tr></table></blockquote>Constructs a new median cell sorter.</div></div><div class=CToolTip id="tt1215"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxCoordinateAssignment.prototype.medianPos = function(</td><td class=PParameter nowrap>i,</td></tr><tr><td></td><td class=PParameter nowrap>model</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Performs one median positioning sweep in one direction</div></div><div class=CToolTip id="tt1216"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxMedianHybridCrossingReduction.prototype.medianRank = function(</td><td class=PParameter nowrap>rankValue,</td></tr><tr><td></td><td class=PParameter nowrap>downwardSweep</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Attempts to minimise the
2012-05-21 20:32:26 +00:00
</div><!--Index-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
2013-07-25 08:26:27 +00:00
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../files/editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../files/editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../files/editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../files/handler/mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxPopupMenuHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="../files/handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../files/io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../files/io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=ME
2012-05-21 20:32:26 +00:00
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([12], 13);// --></script></div><!--Menu-->
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>