Skip to content

Auto Layout

Damiano Di Vincenzo edited this page Dec 3, 2020 · 8 revisions

The auto-layouting feature can be accessed on style editor while selecting a graph (click an empty spot on it) It might be desired to disable the Grid usage for the duration of the simulation.

image-al

It starts off and without visible options, once enabled it will display a set of options:

image-al-on

This feature relies on vis-network using his physic simulation parameters, here is the documentation

The layouting is dynamic and the user can interact with it by moving vertex as suggesting an optimal layouting. The "stabilize" button will force the simulation to reach a stable point after a set amount of physical simulation iterations, but the simulation is still enabled and the user can break the stable situation by interacting with the graph or his vertices. It is possible to manually esclude or include some vertex from the simulation. Excluded vertices will stand still and might overlap with the vertex inside the simulation.

image-al-vertex

Clone this wiki locally