I have an object derived from GoGeneralNode that has an icon and text above and below. I'd like to be able to create a rectangle for the background instead of having the icon be the background. In other words, I'd like to be able to have the right ports be on the right edge of my rectangle instead of the icon, which is the default. I have managed to figure out how to make the rectangle the selection object but the text still adds above and below the icon and the ports are left and right of the icon. Is there a way to override this? Thanks
I figured it out I think. I overrode createIcon and specified my rectangle instead. Then I created the icon and added it in the object. This seems to work correctly.