6#include "../collection.hpp"
7#include "../compiler_utils.hpp"
8#include "../component_batch.hpp"
9#include "../components/graph_edge.hpp"
10#include "../components/graph_type.hpp"
11#include "../indicator_component.hpp"
12#include "../result.hpp"
57 static constexpr const char IndicatorComponentName[] =
58 "rerun.components.GraphEdgesIndicator";
68 :
edges(std::move(_edges)) {}
76 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
89 struct AsComponents<archetypes::GraphEdges> {
91 static Result<std::vector<ComponentBatch>> serialize(
const archetypes::GraphEdges& archetype
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:77
GraphType
Component: Specifies if a graph has directed or undirected edges.
Definition graph_type.hpp:25
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: A list of edges in a graph.
Definition graph_edges.hpp:47
Collection< rerun::components::GraphEdge > edges
A list of node tuples.
Definition graph_edges.hpp:49
GraphEdges with_graph_type(rerun::components::GraphType _graph_type) &&
Specifies if the graph is directed or undirected.
Definition graph_edges.hpp:73
std::optional< rerun::components::GraphType > graph_type
Specifies if the graph is directed or undirected.
Definition graph_edges.hpp:54
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32