rune-langium / visual-editor/src / NamespaceExplorerPanelProps
Interface: NamespaceExplorerPanelProps
Defined in: packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:57
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
className? | string | Optional className for outer container. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:75 |
dragSourceId? | string | Canonical node id of the currently active drag source (used to render the → arrow indicator next to the type name). | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:84 |
expandedNamespaces | Set<string> | Set of currently expanded (visible) namespaces. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:61 |
hiddenNodeIds | Set<string> | Set of individually hidden node IDs. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:63 |
hiddenRefCounts? | Map<string, number> | Total edge count for cross-namespace reference detection. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:79 |
nodeRepository | NodeRepository | Repository over all graph nodes (full set, including hidden ones). | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:59 |
onClearDragSource? | () => void | Previously used for double-click undo-on-navigate; no longer consumed internally after Phase 13 redesign (row body is single-purpose). Retained on the interface for back-compat with EditorPage pass-through. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:95 |
onCollapseAll? | () => void | Deprecated Global visibility controls moved out of the explorer. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:69 |
onExpandAll? | () => void | Deprecated Global visibility controls moved out of the explorer. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:67 |
onSelectNode? | (nodeId) => void | Called when the type name or navigation arrow is activated to select it in the graph. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:71 |
onSetDragSource? | (payload) => void | Legacy drag-source marking callback, retained for caller compatibility. Rows now use native dragging; the name and arrow handle navigation. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:89 |
onToggleNamespace | (namespace) => void | Toggle a namespace's visibility on the graph. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:65 |
selectedNodeId? | string | null | Currently selected node ID (for highlighting). | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:73 |
selection? | ExplorerSelection | Optional controlled inclusion: row/name toggle it; the arrow navigates. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:97 |
showHeading? | boolean | Omit the repeated heading when a host already supplies the panel title. | packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:77 |