Class AbstractHierarchicalLayout<P>Abstract

This class is the parent of layouts intended to arrange hierarchical data, specifically the BalloonLayout and HierarchicalLayout (which is now deprecated). Users of the API do not need to interact with this class.

Type Parameters

Hierarchy (view full)

Methods

  • Gets the position for the given Node/Group as dictated by either the left/top properties, or some other nominated pair, in the Node/Group's data. This position is what the Absolute layout uses itself, and this method exposes the absolute position for subclasses that wish to make use of the absolute backing.

    Parameters

    • v: Node | Group

      Node/Group to get absolute position for.

    • Optionalparameters: LayoutParameters

      Constructor parameters. May contain a custom locationFunction.

    Returns PointXY

Version :