SVG Graph Network API Documentation - v0.2.0
    Preparing search index...

    Interface GraphConfig

    Complete graph configuration combining all aspects

    interface GraphConfig {
        damping: number;
        repulsionStrength: number;
        attractionStrength: number;
        groupingStrength: number;
        showControls: boolean;
        showLegend: boolean;
        showTitle: boolean;
        showBreadcrumbs: boolean;
        theme: "light" | "dark";
        autoColor: boolean;
        title: string;
        zoomSensitivity: number;
        filterDepth: number;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any

      Allow additional configuration properties

    Index

    Properties

    damping: number

    Velocity damping factor (0-1)

    repulsionStrength: number

    Node repulsion force strength

    attractionStrength: number

    Link attraction force strength

    groupingStrength: number

    Same-type node grouping force

    showControls: boolean

    Show control buttons

    showLegend: boolean

    Show legend panel

    showTitle: boolean

    Show title

    showBreadcrumbs: boolean

    Show breadcrumb navigation

    theme: "light" | "dark"

    Visual theme

    autoColor: boolean

    Automatically generate colors for undefined node types

    title: string

    Graph title

    zoomSensitivity: number

    Mouse wheel zoom sensitivity

    filterDepth: number

    Connection depth for filtering