Using JGoLabledLink with LayeredDigraphAutoLayout

Hi folks. Using version 5.3.x.

I am trying to use the LayeredDigraph auto layout. It works well except for one thing. I am using JGoLabeledLinks, and it seems to want to layout the object contained in the midLabel as a top level item on the canvas, which messes up the layout.
Any pointers on how to get around this?
Many thanks,

Take a look at the layoutWithLabeledLinks method in the last post from this topic:

That basic logic (of removing the label objects from the network) worked for me.