g3-toolkit API Reference
    Preparing search index...

    Interface SerializableStyleRule

    The declarative rule subset (no functions, no predicates).

    interface SerializableStyleRule {
        attributes: Readonly<Partial<VisualAttributes>>;
        id: string;
        selector?: {
            classAny?: readonly string[];
            dataEquals?: Readonly<Record<string, string | number | boolean>>;
            dataHas?: readonly string[];
            kind?: "node" | "edge";
        };
    }
    Index

    Properties

    attributes: Readonly<Partial<VisualAttributes>>
    id: string
    selector?: {
        classAny?: readonly string[];
        dataEquals?: Readonly<Record<string, string | number | boolean>>;
        dataHas?: readonly string[];
        kind?: "node" | "edge";
    }