Module re_view_graph::layout
source ยท Re-exportsยง
pub use geometry::EdgeGeometry;
pub use geometry::PathGeometry;
pub use params::ForceLayoutParams;
pub use provider::ForceLayoutProvider;
pub use request::EdgeTemplate;
pub use request::LayoutRequest;
pub use result::Layout;
Modulesยง
- geometry ๐Provides geometric (shape) abstractions for the different elements of a graph layout.
- params ๐
- provider ๐Performs the layout of the graph, i.e. converting an
LayoutRequest
into aLayout
. - request ๐Contains all the (geometric) information that is considered when performing a graph layout.
- result ๐Defines the output of a layout algorithm, i.e. everything that we need to render the graph.
- slots ๐Force-directed graph layouts assume edges to be straight lines. A
Slot
represents the space that a single edge, or multiple edges can occupy between two nodes.