Neo4j Visualization Library
    Preparing search index...

    Type Alias DrawInteractionOptions

    Options for the draw interaction handler.

    type DrawInteractionOptions = {
        ghostGraphStyling?: {
            node?: Pick<Node, "color" | "size">;
            relationship?: Pick<Relationship, "color" | "width">;
        };
    }
    Index
    ghostGraphStyling?: {
        node?: Pick<Node, "color" | "size">;
        relationship?: Pick<Relationship, "color" | "width">;
    }

    Styling for the ghost graph that is shown when drawing.

    Type Declaration

    • Optionalnode?: Pick<Node, "color" | "size">

      Styling for the ghost node.

    • Optionalrelationship?: Pick<Relationship, "color" | "width">

      Styling for the ghost relationship.