Ensure that minLen is respected for min and max nodes

Fixes #94
Remove knowledge about ranks from acyclic function
If min / max are unconnected they should be at source / sink level
Move post-rank edge reorientation to the rank function