Skip to content

@graphty/graphty-element / session / SetUser

Interface: SetUser ​

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

One thing that names a set: "Used by". OPEN UNION on kind: kinds may be added in a minor release; render label for a kind you do not know.

Properties ​

id? ​

readonly optional id?: string

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

Its id: a set, layer, run or note id, or a layout type. Absent for the visibility filter.


kind ​

readonly kind: "filter" | "run" | "layout" | "layer" | "set" | "note"

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

What kind of thing names the set. OPEN UNION.


label ​

readonly label: string

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

What to show for it: a layer's or set's name, "Visibility filter", "Layout (ngraph)", a note's first line cut to 80 characters.