How to override **AutoPlace ** module which is **–depends–** **bpmnAutoPlace**’

In my case , if use 50(DEFAULT_DISTANCE), the node task is covered by context-pad .image

And I have injected my ‘CustomAutoPlace’ to override 'autoPlace‘,but it’s doesn’t work.
The injected code is like follow

And I found that the autoPlace moudle in diagram-js is used as e bpmnAutoPlace’s **–depends–. Does this mean I can only override the bpmnAutoPlace module instead of overriding the autoPlace module?

So how to override the modules in –depends–.? :rofl:

Anyone can help me ? :joy: :joy: :broken_heart: :broken_heart:

@nikku @philippfromme @Niklas_Kiefer :smiling_face_with_three_hearts:

Maybe start by reading and replying to my answer in your other topic about the same thing: How to change AutoPlace DEFAULT_DISTANCE - #11 by RichieChoo? :roll_eyes: :rofl: :roll_of_toilet_paper: