Crate egui_graphs
source ·Structs§
- This is the default node shape which is used to display nodes in the graph.
- Contains all the data about current widget state which is needed for custom drawing functions.
- Stores properties of an edge that can be changed. Used to apply changes to the graph.
- Stores properties of an Edge
- Wrapper around
petgraph::stable_graph::StableGraph
compatible withsuper::GraphView
. It is used to store graph data and provide access to it. - Widget for visualizing and interacting with graphs.
- Stores properties of a Node
- Represents graph interaction settings.
- Represents graph navigation settings.
SettingsStyle
stores settings for the style of the graph.
Traits§
Functions§
- Helper function which adds user’s edge to the
super::Graph
instance. - Helper function which adds user’s edge to the
super::Graph
instance with custom edge transform function. - Helper function which adds user’s node to the
super::Graph
instance. - Helper function which adds user’s node to the
super::Graph
instance 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::StableGraph
isntance into the version required by thesuper::GraphView
widget. - The same as
to_graph
, but allows to define custom transformation procedures for nodes and edges.