Skip to main content

Crate egui_graph

Crate egui_graph 

Source

Re-exports§

pub use layout::layout;
pub use node::FramedResponse;
pub use node::NodeCtx;
pub use node::NodeId;
pub use node::NodeInteraction;
pub use socket::layout::grid::SocketGrid;
pub use socket::layout::SocketLayout;
pub use socket::SocketKind;
pub use socket::SocketResponses;

Modules§

bezier
edge
layout
Items related to automated layout of nodes.
node
socket

Structs§

EdgeInProgress
EdgesCtx
A context to assist with the instantiation of edge widgets.
Graph
The main interface for the Graph widget.
GraphResponse
The response returned by Graph::show.
GraphTempMemory
State related to the graph UI.
NodeSockets
Information about the inputs and outputs for a particular node.
NodesCtx
A context to assist with the instantiation of node widgets.
Show
The context returned by the Graph widget. Allows for setting nodes and edges.
View
Configuration for the graph.

Functions§

id
Combines the given id src with the TypeId of the Graph to produce a unique egui::Id.
is_node_selected
Checks if a node with the given ID is currently selected in the specified graph.
with_graph_memory
Access the graph’s temporary memory for the given graph ID.

Type Aliases§

Layout
The location of the top-left of each node relative to the centre of the graph area.