Label Centering

Hi, I am using the SimpleFDAL.cs and SimpleLDAL.cs classes to organize by diagram. I am also specifying to center my labels.

Everything works fine when I use SimpleFDAL and do an AUto Layout. However when I change to a directional layout my labels on the lines are no longer centered and go to the end of the lines.
Any help is appreciated.

What do you mean by a directional layout – do you mean GoLayoutLayeredDigraph?

If so, what kind of node are you using? If you are using a node with a single port, what is the value of SetsPortSpots on either GoLayoutForceDirected or GoLayoutLayeredDigraph? Maybe you should set that property to false on both layouts.

Yes that did the trick… As always, thanks for your quick help.