new Graph(json) Directed graph. Properties: Name Type Description json.nodes object key-value pairs of nodes json.edges object key-value pairs of edges, source => [target1, target2, ...] Source: Graph.js, line 12 Parameters: Name Type Description json object Methods calcStartEnd() → {Graph} Calculate start and end nodes. Source: Graph.js, line 65 Returns: Type: Graph