P.image function is removed

hi all, when upgrade from v16 to v18, I found parent.image function is removed. it there any alternative for this case.thanks a lot

@nikku anybody can help ?. Thanks a lot

project - bpmn-js-nyan

“dependencies”: {
“bpmn-js”: “^0.13.0”,
“diagram-js”: “^0.13.0”,
“inherits”: “^2.0.1”

implement by custom render as below,but upgrade to v18,how to archieve this?

Hello @Havid_Zheng,

I’ve updated the bpmn-nyan-js project, bumping bpmn-js and diagram-js to v0.18.

Check this commit if you’re interested on what I did to fix it.


Thanks @ricardomatias.