Graph::Layout::Aesthetic::Force::MinEdgeLength - Connected nodes attract
use Graph::Layout::Aesthetic; $aglo = Graph::Layout::Aesthetic->new($topology); $aglo->add_force("MinEdgeLength", 1);
This module provides an aesthetic force for use by the Graph::Layout::Aesthetic package. It's normally implicitly loaded by using add_force.
The aesthetic force is that connected nodes attract each other with a force that's quadratic in their distance.
This class inherits from Graph::Layout::Aesthetic::Force and adds no methods of its own.
None.
Graph::Layout::Aesthetic, Graph::Layout::Aesthetic::Force
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).
To install Graph::Layout::Aesthetic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graph::Layout::Aesthetic
CPAN shell
perl -MCPAN -e shell install Graph::Layout::Aesthetic
For more information on module installation, please visit the detailed CPAN module installation guide.