Skip to content

@graphty/graphty-element / session / LoadedWeight

Interface: LoadedWeight ​

Defined in: graphty-element/src/session/types.ts:564

The weight a graph was loaded with: session.data.loadedWeight().

Properties ​

attribute ​

readonly attribute: string

Defined in: graphty-element/src/session/types.ts:566

The edge attribute the weights were read from.


meaning ​

readonly meaning: "strength" | "distance" | "capacity" | null

Defined in: graphty-element/src/session/types.ts:568

What the weight means, or null when the load did not say.