Michiel Helvensteijn
Michiel Helvensteijn
I've tried to send JSON-like objects from a worker thread to the main thread using Bonobo. This still seems to take up to 10 seconds for large arrays. I profiled...
Right now there is inconsistency in how key/value combos are represented throughout the API: - When adding [vertices](https://github.com/mhelvens/graph.js#Graph#addNewVertex) and [edges](https://github.com/mhelvens/graph.js#Graph#addNewEdge), the arguments are given separately, like `key, value` and `from,...
Because we're using Map in the background, we don't really require keys to be strings.
Right now, there are some methods that create a new graph based on an existing graph, and others that transform an existing graph in-place. For example: - [.transitiveReduction](https://github.com/mhelvens/graph.js#Graph#transitiveReduction) creates a...
In order to keep the core graph.js library light, larger algorithms like [`.paths()`](https://github.com/mhelvens/graph.js#Graph#paths), [`.cycles()`](https://github.com/mhelvens/graph.js#Graph#cycles), [`.transitiveReduction()`](https://github.com/mhelvens/graph.js#Graph#transitiveReduction) and [`.contractPaths()`](https://github.com/mhelvens/graph.js#Graph#contractPaths) should be put in a separate companion library. This is a breaking change...
In working on version 1.x of the library, I notice a number of things I now want to do differently, but would break backwards compatibility. So I'm now planning for...
So far, the `Graph` class has worked as a simple key/value storage, and in order to do anything you have to keep passing keys around. An object-oriented `Graph` subclass would...
The names of the [`.verticesWithPathFrom(key)`](https://github.com/mhelvens/graph.js#Graph#verticesWithPathFrom) and [`.verticesWithPathTo(key)`](https://github.com/mhelvens/graph.js#Graph#verticesWithPathTo) methods are no good. They should at least contain a form of the word 'reachable'. Something like `.verticesReachableFrom` and... what? - `.verticesReachingTo` -...
I apologize if this is outside the scope of this repo. Go ahead and close, if that's the case. I want to track the configuration files on my pc, and...