Search this API

y.layout.hierarchic.incremental
Interface LayoutDataProvider


public interface LayoutDataProvider

This interface retrieves NodeData and EdgeData instances for elements in the current layout graph.

Instances of this interface are provided by HierarchicLayouter for instances implementing sub-tasks during the layout.

See Also:
HierarchicLayouter
 
Your browser does not support SVG content.

Method Summary
 EdgeData getEdgeData(Edge edge)
          Returns the EdgeData instance associated with the given Edge.
 NodeData getNodeData(Node node)
          Returns the NodeData instance associated with the given Node.
 

Method Detail

getNodeData

NodeData getNodeData(Node node)
Returns the NodeData instance associated with the given Node.

Parameters:
node - the given node
Returns:
the NodeData instance associated with the node

getEdgeData

EdgeData getEdgeData(Edge edge)
Returns the EdgeData instance associated with the given Edge.

Parameters:
edge - the given edge
Returns:
the EdgeData instance associated with the edge

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