This commit is contained in:
2026-03-08 21:44:44 +01:00
parent f21639693b
commit fe37c9046d
2 changed files with 2 additions and 1 deletions

View File

@@ -426,6 +426,7 @@ export default function App() {
<Sparkles className="mr-2 h-4 w-4" /> <Sparkles className="mr-2 h-4 w-4" />
Renderer Renderer
</ContextMenuItem> </ContextMenuItem>
<ContextMenuSeparator></ContextMenuSeparator>
<ContextMenuItem onSelect={() => createNode('variable')}> <ContextMenuItem onSelect={() => createNode('variable')}>
<Variable className="mr-2 h-4 w-4" /> <Variable className="mr-2 h-4 w-4" />
Variable Variable

View File

@@ -167,7 +167,7 @@ export const FunctionNode = memo(function FunctionNode({ id, data, width, height
<BaseNodeFooter> <BaseNodeFooter>
<NodeFooterEdgeIndicators nodeId={id} nodeType="function"> <NodeFooterEdgeIndicators nodeId={id} nodeType="function">
{bodyValue ? `${bodyValue.length} chars` : 'none'} {bodyValue ? `Javascript | ${bodyValue.length} chars` : 'none'}
</NodeFooterEdgeIndicators> </NodeFooterEdgeIndicators>
</BaseNodeFooter> </BaseNodeFooter>
</BaseNode> </BaseNode>