How to rename participant to pool

Hi all,
I am using bpmn-js in a project. When using the BpmnViewer from “bpmn-js/lib/Modeler” to create a new diagram a new pool has the title “participant” in the propretiesPanel. Is it possible to auto rename the title “participant” to “pool”? And to maintain theat change in the xml.


Hi You can use this link to understand how the properties panel works.

Once you have basic understanding, you can refer to this to extend the panel according to your requirements.

Thanks for getting back to me.
I have already implemented a custom properties panel and I can add a user defined name each event/item in the diagram.
I want to change “bpmn:Participant” to “bpmn:Pool” where the red arrow is pointing to in the screenshot: