Module nannou::ui::widget::graph[][src]

Expand description

A widget for viewing and controlling graph structures.

Modules

A default container widget to use for nodes that exist within a Graph widget.

Structs

The camera used to view the graph.

A context for an edge yielded during the edge instantiation stage.

Returned when an Edge is assigned a widget.

An iterator-like type yielding a NodeContext for every node in the graph.

An iterator yielding all pending events.

A widget used for visualising and manipulating Graph types.

Stores the layout of all nodes within the graph.

A widget that acts as a convenience container for some Node’s unique widgets.

A context for a node yielded during the node instantiation stage.

Represents a socket connection on a node.

Returned when a NodeContext is assigned a widget.

An iterator-like type yielding a NodeContext for every node in the graph.

A context for moving through the modes of graph widget instantiation in a type-safe manner.

The third stage of the graph’s Session event.

The first stage of the graph’s Session event.

The second stage of the graph’s Session event.

Describes the layout of either input or output sockets.

Unique state for the Graph.

Unique styling for the BorderedRectangle widget.

Enums

Events related to adding and removing edges.

An interaction has caused some event to occur.

Events related to adding and removing nodes.

Represents the side of a node widget’s bounding rectangle.

Traits

Traits required by types that may be used as a graph node identifier.

Functions

Returns the widget::Ids for the start and end nodes.

Returns the widget::Id for a node if one exists.