Module edge

Module edge 

Source

Structs§

Edge
An edge in the network graph. Edges are directed, so the source person is implicit.

Traits§

EdgeType

Functions§

add_to_edge_type_to_registry
Adds a new edge type to the registry. The job of this method is to create whatever “singleton” data/metadata is associated with the EdgeType if it doesn’t already exist, which in this case is only the value of EdgeType::id().
get_registered_edge_type_count
Returns the number of registered edge types for the entity type E.
initialize_edge_type_id
Encapsulates the synchronization logic for initializing an EdgeType<E>’s ID.