Graph.join_edges
- Graph.join_edges(key)[source]
Join the edges incidental on the given node, if there are exactly two incident edges.
- Parameters:
- graph
compas.geometry.Graph
A graph data structure.
- keyhashable
The node identifier.
- graph
- Returns:
- None
The graph is modified in place.
Notes
A new edge is created to replace the two joined edges. The attributes of the joined edges are not transferred to the new edge. Therefore, the new edge has only default edge attributes.