Skip to content

@graphty/graphty-element / index / NoteTargetInput

Type Alias: NoteTargetInput ​

NoteTargetInput = NoteTarget | { edge: EdgeId; }

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

A target as add, update and list accept it: any NoteTarget, or an edge by its session EdgeId. An item may leave out run, which means the result's current run.

Union Members ​

NoteTarget


Type Literal ​

{ edge: EdgeId; }

edge ​

readonly edge: EdgeId

An edge by the id the element gave it (from the selection or a click); saved by its ends.