Quote:It would be even better if I could set it 'transparent' so any background image set on the diagram would show through.
You could either remove the Shape component from the node's template, which would also hide the border, or set its Brush property to a transparent color:
// in OrgChartNode constructor
setFill(new SolidBrush(new Color(0, 0, 0, 0)));
Quote:Also is there any way to cause the CompositeNode to resize itself so all the text is always visible - even if more text is added by the user?
After changing text you could calculate new height for the node by summing the heights returned by getDesiredSize() method of components (title + image + text) and assigning it back to node's Bounds.
Quote:If I change the image to a smaller one, and resize the CompositeNode the individual items within the CompositeNode are rearranged so that the image ends up over the title text (if that goes on to a second line) and looses the 'space' around it.
TextComonent.getDesiredSize() did not consider width limits, returning size for non-wrapped single line of text; this build should fix it:
https://mindfusion.eu/_beta/jdiag.4.1.2.zipI hope that helps,
Stoyan