Generate GraphViz programs for B+ Trees.
Read input from a file
node bplus-graphviz.js graph.json | dot -Tpng > output.png
Pipe input to STDIN
cat graph.json | node bplus-graphviz.js | dot -Tpng > output.png
The number of elements per node
The root node of the tree
The elements of the node. Each element can be a number, boolean, string, or object of the
form {"value": <val>, "highlight": <boolean>}
The child nodes
Whether to highlight this node
Minimum length of the edge connecting this node to the next leaf (only valid if the node is a leaf node)