Right click to expand or hide?

I would like to right-click on the expansion map.
9ab94e6e
Expand details near the original node.
8c147704
I hope the connecting line is not blocked.

I’m sorry. I didn’t describe it clearly
For example, right click to show some nodes.
I need to right-click to show details in the ring.
These detail nodes can automatically surround nearby.

I refer to it.
demo: https://github.com/NorthwoodsSoftware/GoJS/blob/28581a45554121905794a800434db2873ea25460/intro/templateMaps.html

‘itemArray’ is used in my project.
But I still don’t understand how to combine them

I’m sorry, but I do not understand what you want the user to do.

I’ve rewritten the description.