GGUI::GGGraphView struct

Where a graph is looking and what is selected. Owned by the graph's owner, which keeps it for as long as the graph is shown, and written by the graph.

Public functions

auto IsSelected(uint64_t node) const -> bool
Whether node node is selected.

Public variables

float X
the graph point at the top left corner
float Y
the graph point at the top left corner
float Zoom
UI units per graph unit.
std::vector<uint64_t> Selected
float PointX
Where the menu was last opened or a paste aimed, in graph units: where to put a new node.
float PointY
see PointX

Variable documentation

std::vector<uint64_t> GGUI::GGGraphView::Selected

node IDs