Difference between revisions of "User:Voludu2/Segment and node IDs"

From Wazeopedia
(testing the use of the AI4 template for cropping)
(annotation)
Line 10: Line 10:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=Every segment is attached to two nodes - one node at each end of the segment.}}
+
|caption=Every segment is attached to two nodes - one node at each end of the segment.
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids2.png
 
|image=Segment_node_ids2.png
Line 17: Line 18:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=At the junction, two segments are connected to the same node. There is exatly one node at a junction.}}
+
|caption=At the junction, two segments are connected to the same node. There is exatly one node at a junction.
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids3.png
 
|image=Segment_node_ids3.png
Line 24: Line 26:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=When a segment is highlighted and one end is dragged away from a node, A new node is automatically created on the segment that was just moved.}}
+
|caption=When a segment is highlighted and one end is dragged away from a node, A new node is automatically created on the segment that was just moved.
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids2.png
 
|image=Segment_node_ids2.png
Line 31: Line 34:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=When a node is dragged and connected to another node, the "stationary" node (the one that didn't get dragged) is retained.  The node that was moved is deleted.}}
+
|caption=When a node is dragged and connected to another node, the "stationary" node (the one that didn't get dragged) is retained.  The node that was moved is deleted.
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids4.png
 
|image=Segment_node_ids4.png
Line 38: Line 42:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=When a segment is cut by connecting another segment somewhere in the middle,two new segments are created. The node from the end of the segment used for cutting becomes the node for the new junction}}
+
|caption=When a segment is cut by connecting another segment somewhere in the middle,two new segments are created. The node from the end of the segment used for cutting becomes the node for the new junction
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids5.png
 
|image=Segment_node_ids5.png
Line 45: Line 50:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=A segment is disconnected from the junction and gains a new node at the end}}
+
|caption=A segment is disconnected from the junction and gains a new node at the end
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids6.png
 
|image=Segment_node_ids6.png
Line 52: Line 58:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=Another segment is disconnected from the junction}}
+
|caption=Another segment is disconnected from the junction
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids7.png
 
|image=Segment_node_ids7.png
Line 66: Line 73:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=If you select the junction of 2 segments and drag it to another node, both segments will have their ends dragged along with the junction}}
+
|caption=If you select the junction of 2 segments and drag it to another node, both segments will have their ends dragged along with the junction
 +
|annotation=}}
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids9.png
 
|image=Segment_node_ids9.png
Line 73: Line 81:
 
|image-top=-50
 
|image-top=-50
 
|height=300
 
|height=300
|caption=All the segments are now joined at one junction.  The stationary node is retained for the junction node.  The node that was moved is deleted.}}
+
|caption=All the segments are now joined at one junction.  The stationary node is retained for the junction node.  The node that was moved is deleted.
 +
|annotation=}}

Revision as of 16:41, 22 October 2018

When you edit, you are often creating an 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.

Here is what happened during an actual editing session.

Every segment is attached to two nodes - one node at each end of the segment.
At the junction, two segments are connected to the same node. There is exatly one node at a junction.
When a segment is highlighted and one end is dragged away from a node, A new node is automatically created on the segment that was just moved.
When a node is dragged and connected to another node, the "stationary" node (the one that didn't get dragged) is retained. The node that was moved is deleted.
When a segment is cut by connecting another segment somewhere in the middle,two new segments are created. The node from the end of the segment used for cutting becomes the node for the new junction
A segment is disconnected from the junction and gains a new node at the end
Another segment is disconnected from the junction
Two segments are joined. The node from the stationary segment is retained as the junction node and the node from the moving end of the other segment is deleted
If you select the junction of 2 segments and drag it to another node, both segments will have their ends dragged along with the junction
All the segments are now joined at one junction. The stationary node is retained for the junction node. The node that was moved is deleted.