Interface: LayoutConfig
Defined in: mobjects/graph/graphTypes.ts:89
Layout configuration options
Properties
center?
optionalcenter:Vector3Tuple
Defined in: mobjects/graph/graphTypes.ts:95
Center point of the layout. Default: [0, 0, 0]
iterations?
optionaliterations:number
Defined in: mobjects/graph/graphTypes.ts:97
Number of iterations for force-directed layouts. Default: 50
partition?
Defined in: mobjects/graph/graphTypes.ts:101
For bipartite layout: partition sets
positions?
optionalpositions:Map<VertexId,Vector3Tuple>
Defined in: mobjects/graph/graphTypes.ts:103
Custom positions map for custom layout
root?
optionalroot:VertexId
Defined in: mobjects/graph/graphTypes.ts:99
For tree layout: root vertex
scale?
optionalscale:number
Defined in: mobjects/graph/graphTypes.ts:93
Scale factor for the layout. Default: 2
type
type:
LayoutType
Defined in: mobjects/graph/graphTypes.ts:91
Type of layout algorithm