ts-graphviz
    Preparing search index...

    Interface Attributes<T>

    DOT object with the property that attributes can be held as a set of keys and values.

    interface Attributes<T extends AttributeKey> {
        size: number;
        values: readonly [T, Attribute<T>][];
        apply(attributes: AttributesObject<T> | AttributesEntities<T>): void;
        clear(): void;
        delete(key: T): void;
        get<K extends AttributeKey>(key: K): undefined | Attribute<K>;
        set<K extends AttributeKey>(key: K, value: Attribute<K>): void;
    }

    Type Parameters

    • T extends AttributeKey

      The attribute keys to set DOT object.

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Methods

    Properties

    size: number

    Size of the set of keys and values held by the DOT object.

    values: readonly [T, Attribute<T>][]

    The key/value tuples of the object attributes.

    Methods