Search this API

y.layout.transformer
Interface GraphZoomer.Zoom

Enclosing class:
GraphZoomer

public static interface GraphZoomer.Zoom

A GraphZoomer.Zoom modifies the position of the nodes in a specific area in the graph.

Implementations of GraphZoomer.Zoom may vary the shape of the area that is affected by the zoom or restrict the zoom level.

See Also:
GraphZoomer.zoom(LayoutGraph, Zoom)
 

Method Summary
 void modifyPosition(java.awt.geom.Point2D.Double position)
          Modifies the given position according to the implemented zoom operation.
 

Method Detail

modifyPosition

void modifyPosition(java.awt.geom.Point2D.Double position)
Modifies the given position according to the implemented zoom operation.

Parameters:
position - the initial position of a point in the layout which will be directly modified

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