de.cau.cs.kieler.keg.diagram.custom
Class HypernodesRequest
java.lang.Object
org.eclipse.gef.Request
de.cau.cs.kieler.keg.diagram.custom.HypernodesRequest
public class HypernodesRequest
- extends Request
A request to update the hypernode structure of the graph.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQ_UPDATE_HYPERNODES
public static final String REQ_UPDATE_HYPERNODES
- the request type used to update hypernodes.
- See Also:
- Constant Field Values
HypernodesRequest
public HypernodesRequest(KNode theRootNode,
Map<Set<KNode>,List<KNode>> thehyperedgeMap)
- Creates a request to apply layout.
- Parameters:
theRootNode
- the root of the layout graphthehyperedgeMap
- map of hyperedges to the representing hypernodes in the original graph
getRootNode
public KNode getRootNode()
- Returns the root layout node.
- Returns:
- the root layout node
getHyperedgeMap
public Map<Set<KNode>,List<KNode>> getHyperedgeMap()
- Returns the map of hyperedges to the representing hypernodes in the original graph.
- Returns:
- the hyperedge map