Subprocess to help with the expanding/collapsing view

hi, I am trying to expand the process to have subprocess in Camunda modeler view but aftr clicking on button it shows option to edit text but doesnot expand the subprocess, however all documents says BPMN provides us with the subprocess to help with the expanding/collapsing view but no one mentions how

Hi @Snehal,

currently it is not possible to switch from expanded to collapsed sub processes and vice versa in bpmn-js. But you can create either expanded or collapsed ones using the palette. The ‘plus’ marker you can see on collapsed sub processes is not a button, but just a marker.

You can take a look at the following topic for a discussion on how a possible implementation for switching the collapsed state of a sub process could look like: