Archetype: A list of nodes in a graph with optional labels, colors, etc.
More...
#include <rerun/archetypes/graph_nodes.hpp>
Archetype: A list of nodes in a graph with optional labels, colors, etc.
Example
Simple directed graph
#include <rerun.hpp>
int main() {
rec.spawn().exit_on_failure();
rec.log(
"simple",
);
}
A RecordingStream handles everything related to logging data into Rerun.
Definition recording_stream.hpp:60
@ Directed
The graph has directed edges.
Archetype: A list of edges in a graph.
Definition graph_edges.hpp:47
Archetype: A list of nodes in a graph with optional labels, colors, etc.
Definition graph_nodes.hpp:49
GraphNodes with_positions(Collection< rerun::components::Position2D > _positions) &&
Optional center positions of the nodes.
Definition graph_nodes.hpp:83
GraphNodes with_labels(Collection< rerun::components::Text > _labels) &&
Optional text labels for the node.
Definition graph_nodes.hpp:97
◆ IndicatorComponentName
constexpr const char rerun::archetypes::GraphNodes::IndicatorComponentName[] |
|
staticconstexpr |
Initial value:=
"rerun.components.GraphNodesIndicator"
The documentation for this struct was generated from the following file: