You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/gl/vertex_descriptor.hpp
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,14 @@ namespace gl {
23
23
/// @ingroup GL GL-Core
24
24
/// @brief A lightweight wrapper around a vertex identifier with optional properties.
25
25
///
26
-
/// **Module:** Part of the @ref GL-Core "Core Graph Components" group.
27
-
///
28
26
/// The `vertex_descriptor` class provides a type-safe and efficient way to represent
29
27
/// vertices in graph structures. It acts as a lightweight wrapper that combines
30
28
/// a unique identifier with optional property data, ensuring safe access and
31
29
/// comparison operations.
32
30
///
33
31
/// > [!WARNING] This class is not intended to be instantiated directly.
34
32
/// >
35
-
/// > Instead, `vertex_descriptor` objects should be retrieved from the @ref gl::graph class instance that owns the given vertex.
33
+
/// > Instead, `vertex_descriptor` objects should be retrieved from the @ref gl::graph "graph" class instance that owns the given vertex.
36
34
///
37
35
/// ### Example Usage
38
36
/// ```cpp
@@ -49,7 +47,7 @@ namespace gl {
49
47
///
50
48
/// 1\. Apply the stream manipulator to ensure custom property data is included in the output.
51
49
///
52
-
/// 2\. Use the arrow operator `->` to read custom properties attached to the vertex.
50
+
/// 2\. Use the arrow operator `->` to read custom properties attached to the vertex (assuming the vertex properties type contains `parent` and `level` members).
53
51
///
54
52
/// 3\. Access another vertex via the `graph` using its ID, and modify the current vertex's properties.
/// | Properties | The type of property data attached to the vertex. | @ref hgl::empty_properties "empty_properties" | [**c_properties**](gl_concepts.md#gl-traits-c-properties) |
57
+
/// | IdType | The underlying integer type used for the IDs. | @ref hgl::default_id_type "default_id_type" | [**c_id_type**](gl_concepts.md#gl-traits-c-id-type) |
58
+
///
59
+
/// ### See Also
60
+
/// - @ref gl::vertex_descriptor for the full definition of the type.
61
+
/// - @ref hgl::hyperedge_descriptor "hyperedge_descriptor" for the corresponding hyperedge wrapper class.
62
+
/// - @ref hgl::hypergraph "hypergraph" for the owning hypergraph class that manages vertex descriptors.
/// | Properties | The type of property data attached to the hyperedge. | @ref hgl::empty_properties "empty_properties" | [**c_properties**](gl_concepts.md#gl-traits-c-properties) |
99
+
/// | IdType | The underlying integer type used for the IDs. | @ref hgl::default_id_type "default_id_type" | [**c_id_type**](gl_concepts.md#gl-traits-c-id-type) |
100
+
///
101
+
/// ### See Also
102
+
/// - @ref hgl::vertex_descriptor "vertex_descriptor" for the corresponding vertex wrapper class.
103
+
/// - @ref hgl::hypergraph "hypergraph" for the owning hypergraph class that manages hyperedge descriptors.
0 commit comments