ts-graphviz
    Preparing search index...

    Interface AttributesGroupModel<T>

    interface AttributesGroupModel<T extends AttributeKey> {
        comment?: string;
        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

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    comment?: string

    Comments to include when outputting with toDot.

    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

    • Delete the value of an attribute from a DOT object by specifying a key.

      Parameters

      • key: T

      Returns void