gloss.pl - A commandline graph layout tool
gloss.pl [options] [file ...]
gloss.pl is a tool which does graph layout using the aglo (Aesthetic Graph Layout) method. The graph is read from the standard input or a file, layout is performed according to the aesthetic combination specified on the command line, and the resulting layout is printed on standard output.
There is a facility for monitoring the progress of the layout using gnuplot.
This program tries to mimic the interface of the gloss program that's part of the original aglo code.
The floating point argument that all aesthetic options have is the weight for that aesthetic
display edges instead of coordinates. This is the output format the old gloss program gave.
Number of iterations, defaults to 1000
Beginning temperature, defaults to 100
Ending temperature, defaults to 0.001
Turn monitor on
Monitor update rate in seconds, default 2
Sleep until newline at end
Node repulsion aesthetic
Minimize edge lengt aesthetic
Centripetal (repulsion from centroid) aesthetic
Node/edge repulsion aesthetic
Minimize edge intersection aesthetic
Minimize edge intersections v2 aesthetic (stronger)
Place parent to left of children aesthetic
Minimize intralevel variance aesthetic
Reads a file in coordinate format (the default output format of this program) and uses it as the initial coordinates of the nodes (the default is random placement).
Print a brief help message and exits.
Prints the manual page and exits.
Input files for the examples are found in the ex/ directory in the Graph::Layout::Aesthetic distribution.
gloss.pl -s -mr 0 -knr 1 -kmel 1 ex/t04.in gloss.pl -s -mr 0 -knr 1 -kmel 1 -kner 1 -kmei2 6 ex/t12.in gloss.pl -s -mr 1 -knr 1 -kmel 1 -d 3 ex/ell.in
http://www.cs.ucla.edu/~stott/aglo/, Graph::Layout::Aesthetic, Graph::Layout::Aesthetic::Force, gnuplot(1), gloss(1)
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.
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.