Skip to content

@graphty/layout / indexed

indexed ​

Index-based layouts over @graphty/graph-format snapshots: every function takes a GraphSnapshot first and an options object last, and returns a LayoutResult whose row i is node index i. @graphty/layout exports them at the top level (and, until 3.0.0, through the deprecated indexed namespace). The position helpers exported beside them convert a result: toPositionMap to an id-keyed map, toPositionColumn to the stride-3 scene-unit column graphty-element and the steppable simulations share, and fromPositionColumn back.

References ​

arf ​

Re-exports arf


ArfOptions ​

Re-exports ArfOptions


bfs ​

Re-exports bfs


BfsLayoutOptions ​

Re-exports BfsLayoutOptions


bipartite ​

Re-exports bipartite


BipartiteLayoutOptions ​

Re-exports BipartiteLayoutOptions


circular ​

Re-exports circular


CommonLayoutOptions ​

Re-exports CommonLayoutOptions


forceAtlas2 ​

Re-exports forceAtlas2


fruchtermanReingold ​

Re-exports fruchtermanReingold


grid ​

Re-exports grid


GridLayoutOptions ​

Re-exports GridLayoutOptions


IndexedForceAtlas2Options ​

Re-exports IndexedForceAtlas2Options


IndexedFruchtermanReingoldOptions ​

Re-exports IndexedFruchtermanReingoldOptions


kamadaKawai ​

Re-exports kamadaKawai


KamadaKawaiOptions ​

Re-exports KamadaKawaiOptions


LayerAlign ​

Re-exports LayerAlign


multipartite ​

Re-exports multipartite


MultipartiteLayoutOptions ​

Re-exports MultipartiteLayoutOptions


planar ​

Re-exports planar


radial ​

Re-exports radial


RadialLayoutOptions ​

Re-exports RadialLayoutOptions


random ​

Re-exports random


shell ​

Re-exports shell


ShellLayoutOptions ​

Re-exports ShellLayoutOptions


spectral ​

Re-exports spectral


spiral ​

Re-exports spiral


SpiralLayoutOptions ​

Re-exports SpiralLayoutOptions