add indicators

This commit is contained in:
2026-03-07 23:31:44 +01:00
parent 640c8b7d98
commit cbd9ef6c53
6 changed files with 134 additions and 14 deletions

View File

@@ -10,7 +10,6 @@ import {
BaseNode,
BaseNodeContent,
BaseNodeFooter,
BaseNodeFooterText,
BaseNodeHeaderRow,
} from './BaseNode'
import { ScrollText } from 'lucide-react'
@@ -21,6 +20,7 @@ import {
MenubarSubTrigger,
} from '../ui/menubar'
import { InputHandle, OutputHandle } from './NodeHandles'
import { NodeFooterEdgeIndicators } from './NodeFooterEdgeIndicators'
import { NodeHeaderTitle } from './NodeHeaderTitle'
import { NodeMenubar } from './NodeMenubar'
@@ -264,7 +264,9 @@ export const ConfigNode = memo(function ConfigNode({ id, data, width, height }:
</BaseNodeContent>
<BaseNodeFooter>
<BaseNodeFooterText>{plantumlValue ? `${plantumlValue.length} chars` : 'none'}</BaseNodeFooterText>
<NodeFooterEdgeIndicators nodeId={id} nodeType="config">
{plantumlValue ? `${plantumlValue.length} chars` : 'none'}
</NodeFooterEdgeIndicators>
</BaseNodeFooter>
</BaseNode>
)