mindoc-org / mindoc

Golang实现的基于beego框架的接口在线文档管理系统

Home Page:https://mindoc.com.cn/docs/mindochelp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

扩展名为.bpmn的流程类,能否自动渲染

menub007 opened this issue · comments

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)?

2.2.1 beta

  1. 你当前使用的是什么操作系统?

linux+mysql

  1. 你是如何操作的?

markdown

  1. 你期望得到什么结果?

自动渲染.bpmn

  1. 当前遇到的是什么结果?

直接显示源代码

<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0c19oup" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.14.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.2.0">
<bpmn:process id="Process_1046nfx" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="11">
bpmn:outgoingFlow_1gsidwk</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_0ff8ey4" name="55">
bpmn:incomingFlow_05i5say</bpmn:incoming>
</bpmn:endEvent>
<bpmn:intermediateThrowEvent id="Event_1jbtlyl" name="44">
bpmn:outgoingFlow_05i5say</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:task id="Activity_1h3ow9q" name="22">
bpmn:incomingFlow_1gsidwk</bpmn:incoming>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_1gsidwk" sourceRef="StartEvent_1" targetRef="Activity_1h3ow9q" />
<bpmn:sequenceFlow id="Flow_05i5say" sourceRef="Event_1jbtlyl" targetRef="Event_0ff8ey4" />
<bpmn:textAnnotation id="TextAnnotation_1opj5eq">
bpmn:text33</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_0utoq6i" sourceRef="Activity_1h3ow9q" targetRef="TextAnnotation_1opj5eq" />
<bpmn:association id="Association_1hnaoru" sourceRef="TextAnnotation_1opj5eq" targetRef="Event_1jbtlyl" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1046nfx">
<bpmndi:BPMNShape id="TextAnnotation_1opj5eq_di" bpmnElement="TextAnnotation_1opj5eq" bioc:stroke="#831311" bioc:fill="#ffcdd2" color:background-color="#ffcdd2" color:border-color="#831311">
<dc:Bounds x="370" y="50" width="100" height="30" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
bpmndi:BPMNLabel
<dc:Bounds x="191" y="202" width="12" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h3ow9q_di" bpmnElement="Activity_1h3ow9q">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1jbtlyl_di" bpmnElement="Event_1jbtlyl">
<dc:Bounds x="612" y="142" width="36" height="36" />
bpmndi:BPMNLabel
<dc:Bounds x="623" y="185" width="14" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ff8ey4_di" bpmnElement="Event_0ff8ey4">
<dc:Bounds x="482" y="282" width="36" height="36" />
bpmndi:BPMNLabel
<dc:Bounds x="494" y="325" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_0utoq6i_di" bpmnElement="Association_0utoq6i">
<di:waypoint x="356" y="137" />
<di:waypoint x="407" y="80" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_1hnaoru_di" bpmnElement="Association_1hnaoru">
<di:waypoint x="453" y="80" />
<di:waypoint x="614" y="153" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gsidwk_di" bpmnElement="Flow_1gsidwk">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_05i5say_di" bpmnElement="Flow_05i5say">
<di:waypoint x="612" y="160" />
<di:waypoint x="565" y="160" />
<di:waypoint x="565" y="300" />
<di:waypoint x="518" y="300" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>