Layered Digraph route is irregular

Try leaving LayeredDigraphLayout.setsPortSpots false and not setting any fromSpot or toSpot.