miserables
The encounters between the characters of Les Misérables as a graph (see ngraph.graph
for the API):
I'm just using this graph over and over, so I thought it's a good time to extract it into npm module.
Original graph was created by Donald Knuth here.
usage
var graph = ;// Graph is now an instance of ngraph.graph:;;// For simplicity exported instance is a singletone, but if you need to// have multiple instances of this graph, then use `create()` method:var create = create;var g1 = ;var g2 = ;;;
install
With npm do:
npm install miserables
license
MIT