Skip to main content

Layouts

Use one of the layouts provided by react-graph-layers. Right now react-graph-layers provides D3-Force and Simple layout for basic usage.

SimpleLayout

Please see /docs/api-reference/simple-layout.

D3ForceLayout

Please see /docs/api-reference/d3-layout.

Create custom layout

create a new custom layout class by following the instruction /docs/advanced/custom-layout

Experimental layouts

There are more experimental layouts under src/experimental-layouts, please reference to the experimental layout gallery.