Packagecom.yworks.yfiles.layout.planar
Interfacepublic interface InitialPlanarSubgraph
Implementors BCCSubgraph, GT, PlanarityTestWrapper

An interface for graph planarization.



Public Properties
 PropertyDefined By
  hiddenEdges : EdgeList
[read-only] Returns a list of removed edges, if planarization was done by removing edges.
InitialPlanarSubgraph
Public Methods
 MethodDefined By
  
Manipulates the current graph g in such a way that it becomes planar, e.
InitialPlanarSubgraph
Property Detail
hiddenEdgesproperty
hiddenEdges:EdgeList  [read-only]

Returns a list of removed edges, if planarization was done by removing edges.


Implementation
    public function get hiddenEdges():EdgeList
Method Detail
createPlanarization()method
public function createPlanarization(pi:PlanarInformation):void

Manipulates the current graph g in such a way that it becomes planar, e. g. by removing (hiding) all edges which cause crossings. It's in the programmer's responsibility that the resulting graph is really planar.

Parameters

pi:PlanarInformation — the graph which should be planarized