@graphty/graphty-element / index / SnapshotLayoutRegistration
Interface: SnapshotLayoutRegistration ​
Defined in: graphty-element/src/layout/SnapshotLayoutEngine.ts:90
A layout on the snapshot contract: a descriptor, and a function from the graph to coordinates.
Properties ​
compute ​
readonlycompute: (input) =>SnapshotLayoutAnswer
Defined in: graphty-element/src/layout/SnapshotLayoutEngine.ts:97
Arrange the graph.
Parameters ​
input ​
Returns ​
descriptor ​
readonlydescriptor:AuthoredLayoutDescriptor&object
Defined in: graphty-element/src/layout/SnapshotLayoutEngine.ts:95
What the catalogue publishes. honoursWeights and scoped are declared here, since there is no class to carry them as statics.
Type Declaration ​
honoursWeights? ​
readonlyoptionalhonoursWeights?:boolean
scoped? ​
readonlyoptionalscoped?:boolean