How to hide sequence flow/ gateway label


Hello everyone,

I want to hide sequence flow and gateway label. Is there any API for this.

Please suggest any help.


What do you understand under hiding elements? Why not just removing/ empty a label so it’s not there anymore?


Yes I am expecting a label to be removed if it matches certain condition, But I don’t know how to achieve this programmatically


Do you want to hide those elements visually or remove them?