Don't show selection marker for element when bpmnViewer

I use bpmn-viewer to show an graph. when the mouse hover any element ,the element border will show the selection rectangle. how to hide it. Thanks a lot

The selection module is responsible for doing this.

Bundle your viewer without it and the outline will not show.

Thanks a lot. I have found this before but I dont know how to archieve “Bundle your viewer without it”. any sample code is really appreciate

That’s to say: I need to modify the source code and build my own version?

You can sub-class the Viewer and override the modules.

Hello, how do you set background and border colors for element nodes in bpmnViewer mode? Note: I’m not talking about Bpmn Modeler mode.It’s very urgent. Can you help me?

Please do not necrobump old topics. Instead link to this thread from new topic.