Network (Graph) File Formats
This is an example of a graph stored in a netcdf file. Source http://anusf.anu.edu.au/Vizlab/drishti/DrishtiHelp.pdf Data would be stored on edges or, coords or vertices. I'm not sure if I like it yet... It's a bit hard to search for because graph often means chart.

netcdf pt80 {
dimensions:
nvertices = 11 ;
coords = 3 ;
nedges = 3 ;
connections = 2 ;
variables:
float vertex_centers(nvertices, coords) ;
float vertex_radius(nvertices) ;
float vertex_volume(nvertices) ;
int edge_neighbours(nedges, connections) ;
float edge_radius(nedges) ;
float edge_net_length(nedges) ;
// global attributes:
:gridsize = 80, 80, 80 ;
data:
vertex_centers =
4.829041, 76.55481, 16.07257,
7.333344, 78.66669, 53.83331,
11.83334, 64.66669, 23.66669,
12.66666, 67.66663, 19,
13.5, 68.5, 27,
14.5, 79, 1,
23.76926, 78.15387, 0.2307739,
26.7973, 48.77142, 46.80756,
38, 44, 42,
39.40677, 66.16608, 61.58075,
51.37497, 60.37494, 43.25 ;
vertex_radius = 4.472136, 2.236068, 2.44949, 2.236068, 2.44949, 1.732051,
1.414214, 9.899495, 4.898979, 4.690415, 1.414214 ;
vertex_volume = 619.9999, 6, 6, 3, 2, 2, 13, 21150, 1, 3788, 8 ;
edge_neighbours =
1, 3,
7, 9,
8, 10 ;
edge_radius = 0, 3.605551, 0 ;
edge_net_length = 4.368e-005, 4.368e-005, 4.368e-005 ;
}
  • No labels