@maxgraph/core

    Function show

    • Copies the styles and the markup from the graph's container into the given document and removes all cursor styles. The document is returned.

      This function should be called from within the document with the graph. If you experience problems with missing stylesheets in IE then try adding the domain to the trusted sites.

      Parameters

      • graph: Graph

        Graph to be copied.

      • doc: null | Document = null

        Document where the new graph is created.

      • x0: number = 0

        X-coordinate of the graph view origin. Default is 0.

      • y0: number = 0

        Y-coordinate of the graph view origin. Default is 0.

      • w: null | number = null

        Optional width of the graph view.

      • h: null | number = null

        Optional height of the graph view.

      Returns Document

    MMNEPVFCICPMFPCPTTAAATR