zmister2016 / MrDoc

mrdoc,online document system developed based on python. It is suitable for individuals and small teams to manage documents, wiki, knowledge and notes. 觅思文档,适合于个人和中小型团队的在线文档、知识库系统。
https://mrdoc.pro/
GNU General Public License v3.0
2.94k stars 549 forks source link

editorMD编辑器,markdown流程图使用 parallel 标签会混乱 #124

Closed fangxia- closed 2 years ago

fangxia- commented 2 years ago
st=>start: 开始
e=>end: 结束
op1=>operation: 作业1
sub1=>subroutine: 子程序
cond=>condition: Yes or No?
io=>inputoutput: 输入输出
para=>parallel: 并行任务
st->op1->cond
cond(yes)->io->e
cond(no)->para
para(path1, bottom)->sub1(right)->op1
para(path2, top)->op1
st@>op1({"stroke":"Red"})@>cond({"stroke":"Red"})@>para({"stroke":"Red","stroke-width":4,"arrow-end":"classic-wide-long"})@>sub1({"stroke":"Red"})@>e({"stroke":"Red"})

以上在http://flowchart.js.org/ 官网渲染正常

Snipaste_2021-10-15_11-35-03

但在本地编辑器中效果会把所有图标叠加到一起

11111 是版本问题吗?

zmister2016 commented 2 years ago

@fangxia- 感谢反馈,后续将进行测试复现和修复

zmister2016 commented 2 years ago

@fangxia- 最新代码已通过更新 flowchart.js 版本修复此问题,将归版至 0.7.5