package Graph::Layout::Aesthetic::Force::ParentLeft; use 5.006001; use strict; use warnings; our $VERSION = '0.02'; use base qw(Graph::Layout::Aesthetic::Force); __PACKAGE__->new->register; 1; __END__ =head1 NAME Graph::Layout::Aesthetic::Force::ParentLeft - Try to place parents to the left of their children =head1 SYNOPSIS use Graph::Layout::Aesthetic; $aglo = Graph::Layout::Aesthetic->new($topology); $aglo->add_force("ParentLeft", 1); =head1 DESCRIPTION This module provides an aesthetic force for use by the L. It's normally implicitly loaded by using L. The aesthetic force is that it tries to place parent nodes at least 5 to the left of child nodes. If nodes are placed so that this condition is not fulfilled, the nodes try to move left or right so it will be with a force that's quadratic in how much their distance on the x-axis is wrong. =head1 METHODS This class inherits from L and adds no methods of its own. =head1 EXPORT None. =head1 SEE ALSO L, L =head1 AUTHOR Ton Hospel, EGraph-Layout-Aesthetic@ton.iguana.beE =head1 COPYRIGHT AND LICENSE 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 L code is derived from C code copyrighted by D. Stott Parker, who released it under the GNU GENERAL PUBLIC LICENSE (version 1). =cut