1 line
1.9 MiB
Plaintext
1 line
1.9 MiB
Plaintext
|
{"version":3,"file":"mindmap-definition-b11d8ccb.js","sources":["../src/diagrams/mindmap/parser/mindmap.jison","../src/diagrams/mindmap/mindmapDb.js","../src/diagrams/mindmap/svgDraw.js","../../../node_modules/.pnpm/cytoscape@3.23.0/node_modules/cytoscape/dist/cytoscape.umd.js","../../../node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.js","../../../node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.js","../../../node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.23.0/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js","../src/diagrams/mindmap/mindmapRenderer.js","../src/diagrams/mindmap/styles.js","../src/diagrams/mindmap/mindmap-definition.ts"],"sourcesContent":["/** mermaid\n * https://knsv.github.io/mermaid\n * (c) 2015 Knut Sveidqvist\n * MIT license.\n */\n%lex\n\n%options case-insensitive\n\n%{\n\t// Pre-lexer code can go here\n%}\n%x NODE\n%x NSTR\n%x ICON\n%x CLASS\n\n%%\n\n\\s*\\%\\%.* {yy.getLogger().trace('Found comment',yytext);}\n// \\%\\%[^\\n]*\\n /* skip comments */\n\"mindmap\"\t\t return 'MINDMAP';\n\":::\" { this.begin('CLASS'); }\n<CLASS>.+\t\t\t { this.popState();return 'CLASS'; }\n<CLASS>\\n\t\t\t\t { this.popState();}\n// [\\s]*\"::icon(\" { this.begin('ICON'); }\n\"::icon(\" { yy.getLogger().trace('Begin icon');this.begin('ICON'); }\n[\\s]+[\\n] {yy.getLogger().trace('SPACELINE');return 'SPACELINE' /* skip all whitespace */ ;}\n[\\n]+ return 'NL';\n<ICON>[^\\)]+\t\t\t { return 'ICON'; }\n<ICON>\\)\t\t\t\t {yy.getLogger().trace('end icon');this.popState();}\n\"-)\" { yy.getLogger().trace('Exploding node'); this.begin('NODE');return 'NODE_DSTART'; }\n\"(-\" { yy.getLogger().trace('Cloud'); this.begin('NODE');return 'NODE_DSTART'; }\n\"))\" { yy.getLogger().trace('Explosion Bang'); this.begin('NODE');return 'NODE_DSTART'; }\n\")\" { yy.getLogger().trace('Cloud Bang'); this.begin('NODE');return 'NODE_DSTART'; }\n\"((\" { this.begin('NODE');return 'NODE_DSTART'; }\n\"{{\" { this.begin('NODE');return 'NODE_DSTART'; }\n\"(\" { this.begin('NODE');return 'NODE_DSTART'; }\n\"[\" { this.begin('NODE');return 'NODE_DSTART'; }\n[\\s]+ return 'SPACELIST' /* skip all whitespace */ ;\n// !(-\\() return 'NODE_ID';\n[^\\(\\[\\n\\-\\)\\{\\}]+ return 'NODE_ID';\n<<EOF>> return 'EOF';\n<NODE>[\"] { yy.getLogger().trace('Starting NSTR');this.begin(\"NSTR\");}\n<NSTR>[^\"]+ { yy.getLogger().trace('description:', yytext); return \"NODE_DESCR\";}\n<NSTR>[\"] {this.popState();}\n<NODE>[\\)]\\) {this.popState();yy.getLogger().trace('node end ))');return \"NODE_DEND\";}\n<NODE>[\\)] {this.popState();yy.getLogger().trace('node end )');return \"NODE_DEND\";}\n<NODE>[\\]] {this.popState();yy.getLogger().trace('node end ...',yytext);return \"NODE_DEND\";}\n<NODE>\"}}\" {this.popState();yy.getLogger().trace('node end ((');return \"NODE_DEND\";}\n<NODE>\"(-\" {this.popState();yy.getLogger().trace('node end (-');return \"NODE_DEND\";}\n<NODE>\"-)\" {this.popState();yy.getLogger().trace('node end (-');return \"NODE_DEND\";}\n<NODE>\"((\" {this.popState();yy.getLogger().trace('node end ((');return \"NODE_DEND\";}\n<NODE>\"(\" {this.popState();yy.getLogger().trace('node end ((');return \"NODE_DEND\";}\n<NODE>[^\\)\\]\\(\\}]+ { yy.getLogger().trace('Long description:', yytext); return 'NODE_DESCR';}\n<NODE>.+(?!\\(\\() { yy.getLogger().trace('Long description:', yytext); return 'NODE_DESCR';}\n// [\\[] return 'NODE_START';\n// .+ return 'TXT' ;\n\n/lex\n\n%start start\n\n%% /* language grammar */\n\nstart\n// %{\t: info document 'EOF' { return yy; } }\n\t: mindMap\n |\tspaceLines mindMap\n ;\n\nspaceLines\n : SPACELINE\n | spaceLines SPACELINE\n | spaceLines NL
|