g3-toolkit API Reference
    Preparing search index...

    Interface LayoutEngine

    Interface that all layout engines implement. Engines are stateless; each call to compute() is independent.

    interface LayoutEngine {
        compute(ugm: UGM, options?: LayoutOptions): Promise<LayoutResult>;
        id: string;
        name: string;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    id: string

    Short identifier (e.g., "force", "hierarchical", "dagre").

    name: string

    Human-readable name for the UI (e.g., "Force-Directed").

    Methods