Graph Drawing
This document explains how to create route data consisting of GraphNodeItem and GraphEdgeItem in Graph Drawing Mode (N).
A graph is network data consisting of nodes and edges.
In AMapper For ARC eye, it represents the connection status of roads and walkways and is used as data for pathfinding algorithms.
For graph drawing, we recommend using the Top Orthographic layout. (Ctrl or ⌘+2)
In Perspective viewport, click positions may be distorted depending on camera angle, causing nodes to be placed at unintended positions.
Top Orthographic viewport provides a vertical top-down view, allowing accurate route drawing.
Basic Usage
- on the icon in the toolbar, or press N.
- in the viewport to draw the first node.
- Continue in the viewport to add nodes. New nodes are connected to previous nodes with edges.
- Ctrl or ⌘+ to create the last node or press Enter to complete immediately.
- Completed nodes and edges are added to the currently selected layer as GraphNodeItem and GraphEdgeItem.
- Press Ctrl or ⌘+Z to undo, or Ctrl or ⌘+Y to redo.
- Press Esc to cancel drawing and return to Navigation Mode (A).
Merging/Splitting Paths
In Graph Drawing Mode (N), you can create nodes on existing GraphNodeItem and GraphEdgeItem to connect/split them.
Connecting New Edges
- Move the pointer to the first GraphNodeItem and .
- Move the pointer to the second GraphNodeItem and .
- Ctrl or ⌘+ to create the last node or press Enter to complete immediately.
- A GraphEdgeItem connecting the first and second nodes is created.
Splitting Existing Edges
- Move the pointer to the GraphEdgeItem you want to split and Ctrl or ⌘+ to complete immediately.
- Or, move the pointer to the GraphEdgeItem you want to split, to create a node, and press Enter to complete.
- The existing edge is removed, and two new GraphEdgeItem are created connecting the newly created node to both ends of the original edge.
You don't need to connect or split one at a time; you can create nodes continuously to connect/split.
Connecting to GeometryItem
- GraphNodeItem can be connected to GeometryItem.
- A GraphNodeItem connected to a GeometryItem serves as an entry point to that shape.
Setting Connection Target Layer
- Press [ or ] to cycle through connection target layers.
- With the default
Any, you can connect to all enabled GeometryItem within the current stage. - When a specific layer is selected, you can only connect to GeometryItem belonging to that layer.
How to Connect
- Moving the pointer over a connectable GeometryItem highlights its center, and a line segment is displayed from that position to the pointer.
- in that state to connect to that GeometryItem.
- Subsequently, when the connected GeometryItem is moved, the GraphNodeItem also moves together.
- A GraphNodeItem connected to a GeometryItem is larger than normal nodes and displayed as a hollow shape.
Angle Guide
- Hold Shift while drawing a graph to display the angle guide.
- The angle guide is displayed in 45-degree increments based on the previous edge direction.
- If started from an edge of another GeometryItem or GraphEdgeItem, the angle guide is displayed based on that edge.
This feature is useful for creating perpendicular edges from POI area entry points in the path direction.