Crate egui_graphs
source ·Structs
- Stores properties of an edge that can be changed. Used to apply changes to the graph.
- Graph type compatible with
super::GraphView. - Widget for visualizing and interacting with graphs.
- Stores properties of a node.
- Represents graph interaction settings.
- Represents graph navigation settings.
SettingsStylestores settings for the style of the graph.
Enums
- Change is a enum that stores the changes to
NodeorEdgeproperties. ChangeEdgeis a enum that stores the changes toEdgeproperties.ChangeNodeis a enum that stores the changes toNodeproperties.ChangeSubgraphis a enum that stores the changes which affect a subgraph.
Functions
- Helper function which adds user’s edge to the
super::Graphinstance. - Helper function which adds user’s edge to the
super::Graphinstance with custom edge transform function. - Helper function which adds user’s node to the
super::Graphinstance. - Helper function which adds user’s node to the
super::Graphinstance with custom node transform function. - Default edge transform function. Keeps original data and creates a new edge.
- Default node transform function. Keeps original data and creates a new node with a random location and label equal to the index of the node in the graph.
- Helper function which transforms users
petgraph::stable_graph::StableGraphisntance into the version required by thesuper::GraphViewwidget. - The same as
to_graph, but allows to define custom transformation procedures for nodes and edges.
Type Aliases
- A subgraph of a graph. Node and edges are holding references to the elements of the original graph.