Comments (11)
Thank you for your recognition!
However, could you provide an example diagram for this issue?
from vite-vue-bpmn-process.
let me explain more.
I wanna change the connector between two elements like a start event and a gateway, when I click on the connector(the sequence flow) the setting icon which u called CHANGE TYPE I want to add a new connector there beside default flow and conditional flow...and connectors changes after selecting the custom connector
from vite-vue-bpmn-process.
from vite-vue-bpmn-process.
So, you mean you want to add a custom type of sequence flow and add it to the 'Change Element' menu, right?
And then, when you click it, the selected sequence flow should switch to the custom one.
from vite-vue-bpmn-process.
Yes yesss exactly, is it possible?
from vite-vue-bpmn-process.
Sure, its possible.
First, you need to add a JSON schema for your custom shape. Then, you should inherit the BpmnRenderer.js to write an SVG node creation method for this shape. Lastly, you need to modify the original BpmnReplaceOptions.js and BpmnReplace.js .
The JSON schema, you can reference my SQL Node.
from vite-vue-bpmn-process.
As for BpmnReplaceOptions and BpmnReplace, you can just inherit from BpmnReplace and implement a new replacement module that overwrites the original module when you use it.
from vite-vue-bpmn-process.
thanks so muchhhh for your attention, time, and explanation
I go for it now and check it out to see what can I do after ur explanations
thanks a lot...I'll be in touch with you and share the result...
from vite-vue-bpmn-process.
I cannot find your JSON schema template in your code and don't know how to add the new custom shape to the change element...
would you please give me a directory of your project or describe it crystal-clear to me...
I like to make it English and other languages and make pull requests for ur project to appreciate you
from vite-vue-bpmn-process.
Emmm... I think you can find the answer here bpmn-js-examples/custom-meta-model
from vite-vue-bpmn-process.
thanks so much I'm reading and checking it...I'll be in touch with you..
anyway your response and attention are so valuable to me
from vite-vue-bpmn-process.
Related Issues (20)
- activiti的图存在兼容性问题 HOT 1
- Is there any way to easily enable english for all the labels / text ? HOT 5
- 任务节点中的多实例和选择人员还在完善吗? HOT 5
- 改造成element-plus版有思路不?
- Color Picker for context pad HOT 9
- color picker in context pad HOT 4
- custom element to context pad HOT 7
- Unable to bind to 'element.mousedown' event when clicking elements. Unable to listen for CMD/CTRL key. HOT 1
- [Feature]自定义网格背景优化 HOT 1
- Can I load saved data on table? HOT 2
- help help help HOT 1
- cannot build the project
- 如何在后端引擎部分,使用自定义节点描述文件?
- Why is your CustomRules elements.delete being called when you click an element as well as when you try to delete it?
- 编辑流程的属性,控制台有报错 HOT 8
- 流程设计点击元素右侧属性面板页面部分更新不及时
- 切换成activiti 引擎,节点类型无法切换成脚本任务
- 开始事件和结束事件不能删除 HOT 1
- 这是bpmn-process-designer的vue3版本吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite-vue-bpmn-process.