y.layout.planar
Class SelfLoopTool

java.lang.Object
  |
  +--y.layout.planar.SelfLoopTool

public class SelfLoopTool
extends Object

This class handles the removal resp. the reinsertion of selfloops from resp.into an embedded graph.


Constructor Summary
SelfLoopTool(PlanarInformation _planar)
          Returns a new instance of SelfLoopTool.
 
Method Summary
 void hideSelfLoops()
          Hides all selfloops in a graph.
 void reinsertSelfLoops()
          Reinsertes the formerly hidden selfloops into the embedded graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfLoopTool

public SelfLoopTool(PlanarInformation _planar)
Returns a new instance of SelfLoopTool.

Parameters:
_planar - the embedded graph in which the selfloops should be hidden.
Method Detail

hideSelfLoops

public void hideSelfLoops()
Hides all selfloops in a graph.


reinsertSelfLoops

public void reinsertSelfLoops()
Reinsertes the formerly hidden selfloops into the embedded graph. Precondition: Edge order must be ok and faces must be calculated in the planar embedding.


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

2003