berkeleybop / bbop-graph

General purpose (mathematical) graph library in JavaScript.
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

Need metadata information as part of format #3

Closed kltm closed 8 years ago

kltm commented 8 years ago

There are new use cases where we may be running into incomplete graphs. In order to catch these up and down the stack, we'll be switching metadata into a key/value variable, which can be generally used.

In this case, we'll be looking at:

{
   "incomplete-p": bool, // true or "true"
   "complete-node-count": 40,
   "complete-edge-count": 40,
}

tagging @hdietze

kltm commented 8 years ago

And metadata must recursively always terminate in a null, bool, number, or string.