SNIK Graph - v26.11
    Preparing search index...

    Class ContextMenu

    context menu for nodes and edges

    Index
    • Fill the context menu and register it with configuration, which will show it for the node and edge selectors. The extension itself is already registered through the plain HTML/JS import in index.html, which makes available cy.contextMenus().

      Parameters

      • graph: Graph

        the graph that the context menu applies to

      • menuItems: MenuItem[]

      Returns ContextMenu

    graph: Graph