Package | com.yworks.yfiles.layout.planar |
Class | public class DualPlanarInformation |
Inheritance | DualPlanarInformation SimplePlanarInformation YObject Object |
Implements | SubdivisionHandler |
Method | Defined By | ||
---|---|---|---|
DualPlanarInformation(_realPlanar:SimplePlanarInformation, init:Boolean = true)
Creates dual graph of an embedded graph. | DualPlanarInformation | ||
calcFaces():void
Calculates the faces of the graph from a given edge order. | SimplePlanarInformation | ||
calcFacesWithOrder(edgeOrder:EdgeOrder):void
Calculates the faces of the graph from the cyclic order of the edges around their source nodes. | SimplePlanarInformation | ||
calcOrdering():void
Calculates the cyclic order of the edges around their source nodes from the set of faces of the graph. | SimplePlanarInformation | ||
computeDualGraph():void | DualPlanarInformation | ||
createCircularEdgeOrder():void
Creates the circular edge-order in the primal graph. | DualPlanarInformation | ||
Creates a face starting at an edge and using the cyclic order of the outgoing edges. | SimplePlanarInformation | ||
Creates a FaceMap for the faces in the graph. | SimplePlanarInformation | ||
Creates the reverse edge for a given edge. | SimplePlanarInformation | ||
Returns the counterclockwise next edge of an edge at the source node. | SimplePlanarInformation | ||
Returns the counterclockwise preceding edge of an edge at the source node. | SimplePlanarInformation | ||
dispose():void [override]
Undoes the changes in the graph. | DualPlanarInformation | ||
disposeFaceMap(map:FaceMap):void
Disposes a FaceMap formerly created with createFaceMap(). | SimplePlanarInformation | ||
equals(o:Object):Boolean | YObject | ||
faceCount():int
Returns the number of Faces. | SimplePlanarInformation | ||
Get the face to which an edge belongs. | SimplePlanarInformation | ||
Get cursor over faces. | SimplePlanarInformation | ||
getClass():Class [override] | DualPlanarInformation | ||
DualPlanarInformation | |||
DualPlanarInformation | |||
DualPlanarInformation | |||
DualPlanarInformation | |||
Returns the reverse edge of an edge. | SimplePlanarInformation | ||
hashCode():int | YObject | ||
isInsertedEdge(edge:Edge):Boolean
Returns if an edge is inserted in the planarization process or is an original edge of the input graph
| SimplePlanarInformation | ||
markAsInsertedEdge(edge:Edge):void
Marks an edge as inserted by an planarization process. | SimplePlanarInformation | ||
[static]
Creates dual graph of an embedded graph. | DualPlanarInformation | ||
newDualPlanarInformation2(_realPlanar:SimplePlanarInformation, hiddenEdges:EdgeList):DualPlanarInformation [static]
Creates dual graph of an embedded graph. | DualPlanarInformation | ||
[static]
Returns a new instance of Planar Information for a graph. | SimplePlanarInformation | ||
Sets to which face an edge belongs. | SimplePlanarInformation | ||
setIsInsertedEdge(edge:Edge, value:Boolean):void
Sets if an edge had been inserted in the planarization process. | SimplePlanarInformation | ||
Set two edges as reverse to each other. | SimplePlanarInformation | ||
showCircularEdgeOrder():void
Prints circular edge order on output. | SimplePlanarInformation | ||
showFaces():void
Prints faces on output. | SimplePlanarInformation | ||
DualPlanarInformation | |||
DualPlanarInformation | |||
subscribe():void | DualPlanarInformation | ||
toString():String
Returns a String of the list of faces
| SimplePlanarInformation | ||
unsplitFace(edge:Edge, oldFaces:Vector.<Object>, newFaces:Vector.<Object>):void | DualPlanarInformation | ||
unsubdivide(splitEdges:Vector.<Object>, e:Edge):void | DualPlanarInformation | ||
unsubscribe():void | DualPlanarInformation |
Method | Defined By | ||
---|---|---|---|
checkConsistency():void | DualPlanarInformation | ||
Factory to create edge tuples. | SimplePlanarInformation | ||
Returns the counterclockwise next edge of another edge around a node
| SimplePlanarInformation | ||
Returns the information for an edge. | SimplePlanarInformation | ||
initDualPlanarInformation1(_realPlanar:SimplePlanarInformation):void
Initializes this object. | DualPlanarInformation | ||
Initializes this object. | DualPlanarInformation | ||
initSimplePlanarInformation(graph:Graph):void
Initializes this object. | SimplePlanarInformation |
DualPlanarInformation | () | Constructor |
public function DualPlanarInformation(_realPlanar:SimplePlanarInformation, init:Boolean = true)
Creates dual graph of an embedded graph. Precondition: Faces of the embedded graph must be calculated.
Parameters_realPlanar:SimplePlanarInformation — embedded graph.
| |
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
checkConsistency | () | method |
protected function checkConsistency():void
computeDualGraph | () | method |
public function computeDualGraph():void
createCircularEdgeOrder | () | method |
public function createCircularEdgeOrder():void
Creates the circular edge-order in the primal graph.
dispose | () | method |
override public function dispose():void
Undoes the changes in the graph.
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getDualEdge | () | method |
getDualNode | () | method |
getRealEdge | () | method |
getRealFace | () | method |
initDualPlanarInformation1 | () | method |
protected final function initDualPlanarInformation1(_realPlanar:SimplePlanarInformation):void
Initializes this object. See the documentation of the corresponding factory method newDualPlanarInformation1()
for details.
Parameters
_realPlanar:SimplePlanarInformation |
See also
initDualPlanarInformation2 | () | method |
protected final function initDualPlanarInformation2(_realPlanar:SimplePlanarInformation, hiddenEdges:EdgeList):void
Initializes this object. See the documentation of the corresponding factory method newDualPlanarInformation2()
for details.
Parameters
_realPlanar:SimplePlanarInformation | |
hiddenEdges:EdgeList |
See also
newDualPlanarInformation1 | () | method |
public static function newDualPlanarInformation1(_realPlanar:SimplePlanarInformation):DualPlanarInformation
Creates dual graph of an embedded graph. Precondition: Faces of the embedded graph must be calculated.
Parameters
_realPlanar:SimplePlanarInformation — embedded graph.
|
DualPlanarInformation |
newDualPlanarInformation2 | () | method |
public static function newDualPlanarInformation2(_realPlanar:SimplePlanarInformation, hiddenEdges:EdgeList):DualPlanarInformation
Creates dual graph of an embedded graph. Precondition: Faces of the embedded graph must be calculated.
Parameters
_realPlanar:SimplePlanarInformation — embedded graph.
| |
hiddenEdges:EdgeList |
DualPlanarInformation |
splitFace | () | method |
public function splitFace(edge:Edge, oldFaces:Vector.<Object>, newFaces:Vector.<Object>):void
Parameters
edge:Edge | |
oldFaces:Vector.<Object> | |
newFaces:Vector.<Object> |
subdivide | () | method |
public function subdivide(e:Edge, result:Vector.<Object>):void
Parameters
e:Edge | |
result:Vector.<Object> |
subscribe | () | method |
public function subscribe():void
unsplitFace | () | method |
public function unsplitFace(edge:Edge, oldFaces:Vector.<Object>, newFaces:Vector.<Object>):void
Parameters
edge:Edge | |
oldFaces:Vector.<Object> | |
newFaces:Vector.<Object> |
unsubdivide | () | method |
public function unsubdivide(splitEdges:Vector.<Object>, e:Edge):void
Parameters
splitEdges:Vector.<Object> | |
e:Edge |
unsubscribe | () | method |
public function unsubscribe():void