SNIK Graph - v25.01
    Preparing search index...

    Class View

    Tab that shows a graph.

    Index

    Constructors

    • Create an empty graph and add it to the state of this view along with its Cytoscape.js instance.

      Parameters

      • initialize: boolean = true

        if initialize is true or not given, the graph is copied from the main view or, if that doesn't exist, from the SPARQL endpoint

      • Optionaltitle: string

        optional view title

      Returns View

    Properties

    cxtMenu: ContextMenu
    cyContainer: HTMLDivElement = ...
    element: HTMLElement
    initialized: Promise<void>
    menu: Menu = null
    state: ViewState
    mainView: View = null
    partViews: Set<View> = ...

    Methods

    • Fill the initial graph or copy over from the main view if it is not the first.

      Returns Promise<void>

    • Recreates the context menus. Needed for language switching.

      Returns void

    • Returns the active (focussed) view.

      Returns any

      The active (focussed) view.