Archetype: A list of edges in a graph.
By default, edges are undirected.
Example
Simple directed graph
#include <rerun.hpp>
int main() {
rec.spawn().exit_on_failure();
rec.log(
"simple",
.with_positions({{0.0, 100.0}, {-100.0, 0.0}, {100.0, 0.0}})
.with_labels({"A", "B", "C"}),
);
}
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
GraphEdges with_graph_type(rerun::components::GraphType _graph_type) &&
Specifies if the graph is directed or undirected.
Definition graph_edges.hpp:73
Archetype: A list of nodes in a graph with optional labels, colors, etc.
Definition graph_nodes.hpp:49