INGOR
|
The ING network file is written in JSON.
Thus, you can easily import and process networks in other programming languages. Currently, this is the official recommended file format to save networks estimated with INGOR.
The ING file a JSON object consisting of three keys, "version
", "node
", and "edge
".
version
An integer
value representing the ING network file format version. Currently, only version 1
is defined.
node
An array of objects representing nodes.
edge
node
objectThe following keys are defined. You can include arbitrary keys as node properties (attributes).
id
name
string
value representing the name of the node. In the lastest implementation, if a double precision floating point value is NaN (not a number), infinity, or − infinity, then such a value is converted to null, 1e999999 or -1e999999.
The former implementation converted them into a string "nan
", "inf
", or "-inf
". This is because JSON does not define how to express these values.
The current implementaton can read both versions of ING files.