Graph.inputEdgeIds

Returns the set of input edge ids that were snapped to the given edge. ("Input edge ids" are assigned to input edges sequentially in the order they are added to the builder.) For example, if input edges 2 and 17 were snapped to edge 12, then input_edge_ids(12) returns a set containing the numbers 2 and 17. Example usage:

for (InputEdgeId input_edge_id : g.input_edge_ids(e)) { ... }

Please note the following:

- When edge chains are simplified, the simplified edge is assigned all the input edge ids associated with edges of the chain.

- Edges can also have multiple input edge ids due to edge merging (if DuplicateEdges::MERGE is specified).

- Siblings edges automatically created by EdgeType::UNDIRECTED or SiblingPairs::CREATE have an empty set of input edge ids. (However you can use a LabelFetcher to retrieve the set of labels associated with both edges of a given sibling pair.)

class Graph
const
inputEdgeIds

Meta