1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
/// Forces that define how your graph moves.
pub mod force;
mod graph;
mod simulation;
#[cfg(feature = "json")]
/// Import and export graphs with json.
pub mod json;
#[cfg(feature = "gml")]
/// Import and export graphs with gml.
pub mod gml;
pub use glam;
pub use petgraph;
pub use {
graph::{ForceGraph, ForceGraphHelper},
simulation::{Dimensions, Node, Simulation, SimulationParameters},
};