Crate time_varying_graph

Source
Expand description

Library for creating and managing time-varying graphs, currently in the works.

§Example


 use time_varying_graph::tvg::{Tvg};

 let data = r#"
       {
         "nodes": [
           "Node1",
           "Node2"
         ],
         "edges": [
           {
             "from": "Node1",
             "to": "Node2",
             "start" : 0.0,
             "end" : 1.0,
             "data": null
           }
         ]
       }"#;


// Create a time-varying graph:
let mut time_varying_graph = Tvg::new();
// Add data from json (recommended)
time_varying_graph.add_edges_from_json(data.to_string());


Modules§

tvg
Time varying graph It can be used in the following way:
tvg_path
Path in the TVG