How to remove collapse button on GoSubGraph

I want to remove/hide the yellow button located on the top left corner which is used to collapse/expand a GoSubGraph. How can I do that ?

Override CreateHandle() and return null.

Do you have nodes inside this subgraph? It’s not immediately obvious why you need GoSubGraph here.

Hi Jake,

Thanks for your reply I will give that a try and let you know.

I am using GoSubGraph to group rectangle nodes but there will not be any connections between them so technically they just act like rectangle images that can be clicked on for various operations.

You could probably just use GoGroup for that (or GoNode if you want to connect these objects with links).