Skip to content

Editor.setGraphContainer generates an error as it calls a non existing Graph.int method #367

@Duoladuola

Description

@Duoladuola

I encountered a bug when using the setGraphContainer method. The source code is marked with the need to fix ME! I saw that the init method in Graphjs is replaced by the constructor of class Graph, so setGrapContainer will report an error when it executes this.graph.init (). When I initialize an instance of the Editor class, I call the Graph constructor, but I can't pass the container parameter in smoothly, and setGraphContainer has a bug that causes some trouble.

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions