-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can We Add Custom Element And Shape For Drawing #36
Comments
Thank you for your recognition! |
let me explain more. |
So, you mean you want to add a custom type of sequence flow and add it to the 'Change Element' menu, right? |
Yes yesss exactly, is it possible? |
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. |
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. |
thanks so muchhhh for your attention, time, and explanation |
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... |
Emmm... I think you can find the answer here bpmn-js-examples/custom-meta-model |
thanks so much I'm reading and checking it...I'll be in touch with you.. |
Hi there, I'm using your source and project, which is a matter of pride.
But I want to add some new custom elements in the change type, like adding some flow beside default flow and conditional flow between elements and drawing the custom shape I wanna add it
Is it possible?
I've been involved with that for a month but couldn't find any solution
with regards
The text was updated successfully, but these errors were encountered: