Change the shape of the element that has been rendered on the view

Question 1:

We get the BPMN file from the background interface. Now we have rendered the file to the page. But the shape of the element is not good. I want to change the shape. I have made a version. It is rendered to the page first, and then replaced innerHTML compulsively. It feels bad. I want a new method and idea.

Question two:

Want to know how to quote extensions, keep trying, never succeed

Please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart:

I want the first picture to look like the second and the third.
1 2 3
please help me,very thanks~~:heart::heart::heart:

Please explain what you’re trying to achieve. Otherwise we can’t help you.


I want the workflow node to grow like this

I want the workflow node to grow like this and change the shape of the node.

You want to customize the look of certain elements?

Yes, are there any examples that I can use for reference? I saw a lot of things, but I didn’t find them.

I want to render the BPMN file to the page and make the element my desired shape.

This example is what you’re looking for:

This is very helpful. :heart::heart:

I had another problem.

How to hide an element and make the style look better when the element hides

What’s the reason you want to hide an element? What are you expecting it to look like?

In our project, the process may change later, then some nodes need to be hidden, and then the page shows the process after the change.

The process that you want to change is like the hidden node has not existed.

The 3rd diagram looks like a different process. What’s the point of hiding element so that the diagram looks like a different diagram?

but We decided to render the hidden template instead of hiding the nodes. I don’t need to deal with it anymore. Thank you.

Hello, I want to preview this view on the mobile side, that is, on the mobile phone, but when zoomed in, the font will also be smaller. What should I do?

For questions that are not related to this topic please open a new topic.