Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface GraphArrangement

Known subtypesForceArrangement, LayeredArrangement, RadialArrangement, TreeArrangement

Places the nodes of a graph. An arrangement computes positions without touching the model; ArrangementResult.apply moves the nodes, and a com.codename1.ui.graph.NodeGraph animates them there instead.

Pinned nodes keep their place in every arrangement that can honour it.

Methods

public abstract ArrangementResult arrange(GraphModel model)Computes a position for every node, and a route for edges the arrangement bends.

Method details

arrange

public abstract ArrangementResult arrange(GraphModel model)
Computes a position for every node, and a route for edges the arrangement bends.