|
sfcode
An Online Competing and Development Environment
|
0.7.0 - thanks tbranyen!{circular: true} into the constructor - thanks tbranyen!size method that will return the number of nodes in the graph.clone method that will clone the graph. Any custom node data will only be shallow-copied. (Fixes #14)Dependency Cycle Found: a -> b -> c -> a (Fixes #7)addDependency if one of the nodes does not exist, the error will say which one it was (instead of saying that "one" of the two nodes did not exist and making you manually determine which one)overallOrder on an empty graph will no longer throw an error about a dependency cycle. It will return an empty array.addNode twice with the same name, it would clear all edges for that node. Now it will do nothing if a node with the specified name already exists. (Fixes #3)