User:Voludu2/Segment and node IDs
When you edit, you are often creating and deleting segments and nodes, even when you don't realize it.
If you take a moment to select the segments and nodes and look at their IDs in the left pane, you can see what is happening.
- Every segment has a unique segment ID.
- There is a node at the end of each segment. Each node has a unique segment ID.
- If that node forms the junction between two or more segments, editors often call it a "junction node"
- If that node is only attached to one segment, editors often call it an "end node"
- If you select a node and move it, all attached segments ends will move with it.
- If a node has no segments attached to it, it will be deleted.
- If you select a segment and move one of its ends, it will leave the node (junction or end) behind
- If you select a segment, move one of its ends, and attach that end to a junction of 2 or more segments, or to the unattached end of another segment, that segment will now be attached to the node at the new location
- If you select a segment, move one of its ends, and leave that end unattached in the new location, a new node will be created at the unattached end of the segment.
- If you merge two segments by deleting the node between them, or by using the bridge button, the node and both segments are deleted and replaced by a new segment with a new segment ID
- If you cut a segment into two segments, the original segment is deleted. Two new segments are created and one new node joining them
- If a segment has one "free" end which is not joined to any other segments, there is still a node attached to the free end.
Here is what happened during an actual editing session.