How to add custom elements to the control panel in camunda, the newly added controls and generate xml code, is it through plugin way or?

截取图片_20220209163419
How to add custom elements to the control panel in camunda, the newly added controls and generate xml code, is it through plugin way or?

Hi @Chaomin_Ruan
I suggest you review the following project - https://github.com/bpmn-io/bpmn-js-examples/tree/master/custom-elements
There are a lot of good examples - https://github.com/bpmn-io/bpmn-js-example-custom-elements.

Thanks for your reply, I successfully added a new graph node on the palette according to the example, but the xml tag generated by dragging it in is <bpmn:task>, the result I want is <bpmn:xxxxxxx(CustomTask) />, What should I do?