Skip to content

rune-langium / visual-editor/src / NamespaceExplorerPanelProps

Interface: NamespaceExplorerPanelProps ​

Defined in: packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:57

Properties ​

PropertyTypeDescriptionDefined in
className?stringOptional className for outer container.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:75
dragSourceId?stringCanonical 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
expandedNamespacesSet<string>Set of currently expanded (visible) namespaces.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:61
hiddenNodeIdsSet<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
nodeRepositoryNodeRepositoryRepository over all graph nodes (full set, including hidden ones).packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:59
onClearDragSource?() => voidPreviously 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?() => voidDeprecated Global visibility controls moved out of the explorer.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:69
onExpandAll?() => voidDeprecated Global visibility controls moved out of the explorer.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:67
onSelectNode?(nodeId) => voidCalled 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) => voidLegacy 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) => voidToggle a namespace's visibility on the graph.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:65
selectedNodeId?string | nullCurrently selected node ID (for highlighting).packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:73
selection?ExplorerSelectionOptional controlled inclusion: row/name toggle it; the arrow navigates.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:97
showHeading?booleanOmit the repeated heading when a host already supplies the panel title.packages/visual-editor/src/components/panels/NamespaceExplorerPanel.tsx:77

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.