graph-toolkit
    Preparing search index...

    Function toJson

    • { directed, vertices, edges: [{ source, target, weight, attributes? }], vertexAttributes? }; attributes appear only where the graph has them.

      Parameters

      Returns string