本文へ移動

@eightkk/vue-weave / core / graphLayoutInputKey

Function: graphLayoutInputKey() ​

graphLayoutInputKey(input): string

Defined in: src/core/graphLayoutRequests.ts:134

A string that identifies a layout input: the scope, direction, settings and revision, and, in order, the nodes (ID, label, detail, shape and ports), the edges (ID, ends, ports, label and waypoints), the groups, the collapsed group IDs and any positions and sizes given to the engine. A change to any of them gives a different key, even when the node IDs stay the same. Node and edge data is not read; change revision when it affects the layout. Throws RangeError for an unknown direction or scope, and for settings that cannot be serialized to JSON.

Parameters ​

input ​

GraphLayoutKeyInput

Returns ​

string

MIT ライセンスで公開しています。