A Redux representation of a graph node data structure.

  • The id field is the database primary key
  • The onCanvasId is the natural key which is unique across a graph only. This ID field is generated at client side in GraphBrowser.
  • All displayable node properties are stored in fields, which is a TS Record whose key is the property name and value the property value

See documentation for more details on Primary Key v.s. Natural Key

interface Node {
    fields: Record<string, string>;
    id?: number;
    onCanvasId: string;
}

Properties

Properties

fields: Record<string, string>
id?: number
onCanvasId: string

Generated using TypeDoc