y.layout.planar
Interface InitialPlanarSubgraph

All Known Implementing Classes:
BCCSubgraph, GT

public interface InitialPlanarSubgraph

an interface for graph planarization


Method Summary
 void createPlanarization(PlanarInformation pi)
          manipulate the current graph g in such a way that it becomes planar, e. g. by removing (hiding) all edges which cause crossings.
 EdgeList getHiddenEdges()
          if planarization is done by means of removing edges, this method returns a list of those ones.
 

Method Detail

createPlanarization

public void createPlanarization(PlanarInformation pi)
manipulate 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 - the graph which should be planarized

getHiddenEdges

public EdgeList getHiddenEdges()
if planarization is done by means of removing edges, this method returns a list of those ones.

Returns:
an edgelist tracking the removed edges

© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003