Instant Access to Node Actions
The right-click context menu puts all essential node operations within easy reach. Simply right-click any node in the tree view or on the canvas to open a contextual menu with actions specific to that node. This familiar interaction pattern, used in operating systems and professional software worldwide, makes Sitemap Editor feel intuitive from the first use.
The context menu appears exactly where you click, positioned intelligently to stay within the visible area of the screen. It automatically closes when you select an action, click elsewhere, or press Escape. This streamlined interaction helps you work faster without breaking your flow.
💡 Pro tip: On touch devices, long-press (hold for about half a second) on any node to open the context menu. This gesture works on both tablets and smartphones.
Available Actions
The context menu provides four essential actions. "Add Child" creates a new page as a child of the selected node, automatically inheriting its section color. "Rename" opens a dialog to edit the page title and URL slug. "Collapse" or "Expand" toggles the visibility of child nodes, helping you focus on specific branches. "Delete" removes the node and all its children after confirmation.
Each action in the menu shows a clear icon and label, making it easy to identify the right option quickly. The menu is keyboard-accessible: you can navigate with arrow keys and select with Enter. For the most common actions, keyboard shortcuts provide an even faster alternative.
Context-Aware Behavior
The context menu intelligently adapts to the selected node. For nodes with children, the collapse/expand option shows the appropriate action based on the current state. The Home node cannot be deleted (since every sitemap needs a root), so the delete option is hidden for it. This context-awareness prevents errors and keeps the interface clean.
Whether you right-click in the tree view or on a canvas card, you get the same consistent menu with the same actions. This consistency means you can work in whichever view you prefer without having to remember different interaction patterns. The context menu is available everywhere you see nodes.