Graph::Layout::Aesthetic::Force::MinEdgeIntersect - Try to make edges uncross
use Graph::Layout::Aesthetic; $aglo = Graph::Layout::Aesthetic->new($topology); $aglo->add_force("MinEdgeIntersect", 1);
The aesthetic force is that crossed edge midpoints repel each other with constant force. The code only works in two dimensions, so it will throw an exception if you try to associate this force with a layout that's not two-dimensional.
The old aglo documentation describes this aesthetic as using a inverse distance force, but that's actually not what the code does.
This class inherits from Graph::Layout::Aesthetic::Force and adds no methods of its own.
Ton Hospel, <Graph-Layout-Aesthetic@ton.iguana.be>
Copyright (C) 2004 by Ton Hospel
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6.1 or, at your option, any later version of Perl 5 you may have available.
Much of the underlying XS code is derived from C code copyrighted by D. Stott Parker, who released it under the GNU GENERAL PUBLIC LICENSE (version 1).