Member Junction
    Preparing search index...

    <mj-graph-view> — Interactive network and entity relationship graph visualization.

    Supports force-directed dynamic layout, multi-category entity badges, hop-expansion, zoom/pan controls, inspector drawer, search filters, and cancelable Before/After event pairs.

    Implements

    • OnInit
    • OnChanges
    • OnDestroy
    Index

    Constructors

    Properties

    AutoFitOnLoad: boolean = true
    AutoOpenInspector: boolean = false
    BeforeEdgeSelect: EventEmitter<BeforeEdgeSelectEventArgs> = ...
    BeforeHopExpand: EventEmitter<BeforeHopExpandEventArgs> = ...
    BeforeLayoutChange: EventEmitter<BeforeLayoutChangeEventArgs> = ...
    BeforeNodeNavigate: EventEmitter<BeforeNodeNavigateEventArgs> = ...
    BeforeNodeSelect: EventEmitter<BeforeNodeSelectEventArgs> = ...
    CanvasRef: ElementRef<SVGSVGElement>
    Categories: GraphCategoryConfig[] = DEFAULT_GRAPH_CATEGORIES
    Edges: GraphEdge<Record<string, unknown>>[] = []
    EdgeSelected: EventEmitter<EdgeSelectedEventArgs> = ...
    FilteredNodes: GraphNode<Record<string, unknown>>[] = []
    FocalNodeId?: string
    HopExpanded: EventEmitter<HopExpandedEventArgs> = ...
    IsPanning: boolean = false
    LayoutChanged: EventEmitter<LayoutChangedEventArgs> = ...
    LayoutMode: GraphLayoutMode = 'force'
    MaxHopDistance: number = 2
    NodeNavigated: EventEmitter<NodeNavigatedEventArgs> = ...
    Nodes: GraphNode<Record<string, unknown>>[] = []
    NodeSelected: EventEmitter<NodeSelectedEventArgs> = ...
    PanX: number = 200
    PanY: number = 150
    Physics: GraphPhysicsConfig = ...
    Scale: number = 1.0
    Searchable: boolean = true
    SearchQuery: string = ''
    SelectedEdge: GraphEdge<Record<string, unknown>> | null = null
    SelectedNode: GraphNode<Record<string, unknown>> | null = null
    SelectedNodeId?: string
    ShowInspector: boolean = true
    ShowLegend: boolean = true
    ShowToolbar: boolean = true
    ViewportTransform: EventEmitter<ViewportTransformEventArgs> = ...
    WrapperRef: ElementRef<HTMLDivElement>

    Accessors

    Methods

    • Whether this node is the selected one. Exists as a method because the template cannot call an imported function directly, and the comparison must go through UUIDsEqual rather than ===.

      Parameters

      Returns boolean

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      Returns void

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void