A text format used to save & load hierarchical data from
.graph
files, primarily designed for saving game states.
Credit for the design goes to my Dad.
Simple as Possible
Frictionless
Easy to Read / Parse
A small example of how you can structure data in graph files.
/* An example of the .graph file format */
Model {
Id { "Basic Component" }
Shape {
0 0 50 10 70 40
84 31 6 12 1 23
}
Density { 0.4 }
Position {
X { -4 }
Y { 3 }
z { 10 }
}
}