Search this API

y.layout.hierarchic.incremental
Interface LayoutDataProvider


public interface LayoutDataProvider

Interface for retrieving NodeData and EdgeData instances for elements in the current layout graph. Instances of this interface are provided by HierarchicLayouter for instances implementing subtasks during the layout.

See Also:
HierarchicLayouter

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

Method Detail

getNodeData

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

Parameters:
node - the node for which the data will be returned
Returns:
the instance

getEdgeData

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

Parameters:
edge - the edge for which the data will be returned
Returns:
the instance

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