Type Alias Graph

The lineage graph containing the node.

type Graph = {
    directed?: boolean;
    edges?: Edge[];
    label?: string;
    metadata?: {
        createdAt?: string;
        producerId?: string;
        producerType?: string;
        specVersion?: string;
        total?: number;
    };
    nodes?: Nodes;
    type?: string;
}
Index

Properties

directed?: boolean

Returns true if the graph is directed.

edges?: Edge[]
label?: string

Label string for this graph.

metadata?: {
    createdAt?: string;
    producerId?: string;
    producerType?: string;
    specVersion?: string;
    total?: number;
}

Type declaration

  • OptionalcreatedAt?: string

    The date and time when the graph is created.

  • OptionalproducerId?: string

    The id (QRI) of the graph producer.

  • OptionalproducerType?: string

    The type of the graph producer.

  • OptionalspecVersion?: string
  • Optionaltotal?: number

    The total number of nodes retrieved in this graph.

nodes?: Nodes

All the nodes contained in a graph.

type?: string