graph_types/edges/
actions.rs

1/// # Arguments
2///
3/// * `index`:
4///
5/// returns: Option<Cow<Self::Node>>
6///
7/// # Examples
8///
9/// ```
10/// use graph_theory::GraphEngine;
11/// ```
12#[derive(Clone, Copy, Debug, PartialEq, Eq)]
13pub enum EdgeInsertID {
14    /// No need to insert anything
15    Nothing,
16    /// Inserted one node, return the node id
17    OneEdge(usize),
18    /// Inserted two nodes, return these node ids
19    TwoEdges(usize, usize),
20}