mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 15:59:51 +02:00
WIP - fixing grammar separating SimpleNode from ComplexNode
This commit is contained in:
7
packages/parser/tests/mindmap-debug.js
Normal file
7
packages/parser/tests/mindmap-debug.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Debug file to print the structure of a parsed mindmap
|
||||
import { mindMapParse } from './test-util.js';
|
||||
|
||||
const result = mindMapParse('mindmap\nroot\n child1\n child2');
|
||||
|
||||
console.log('Parser result:', result.value);
|
||||
console.log('Statement structure:', JSON.stringify(result.value?.statements[0], null, 2));
|
Reference in New Issue
Block a user