Graph-Layout-Aesthetic
view release on metacpan or search on metacpan
lib/Graph/Layout/Aesthetic/Force.pm view on Meta::CPAN
it directly returns the corresponding force. If not, it tries to
L<require|perlfunc/require> Graph::Layout::Aesthetic::Force::$name and
tries again. If still not found, it throws an exception.
This method gets used by L<Graph::Layout::Aesthetic|Graph::Layout::Aesthetic>
to load forces on demand.
=item X<private_data>$old_private_data = $force->_private_data
Every force object is associated with one scalar of private data (default
undef). This is perl data meant for the implementer of a force class, and
should normally not be manipulated by the user (see
L<user_data|"user_data"> for that).
This method returns that private data.
Don't confuse this with the closure data returned by
L<aesth_setup|"aesth_setup">. That one is associated with a force/state
combination and normally only exists as long as a certain force is associated
with a certain state, while this one is associated with the force itself.
=item $old_private_data = $force->_private_data($new_private_data)
Sets new private data, returns the old value.
=item X<user_data>$old_user_data = $force->user_data
Every force object is associated with one scalar of user data (default
undef). This is perl data meant for the enduser of a force class,
and should normally not be manipulated inside the force class
(see L<private_data|"private_data"> for that).
This method returns that user data.
=item $old_user_data = $force->user_data($new_user_data)
Sets new user data, returns the old value.
=back
lib/Graph/Layout/Aesthetic/Topology.pm view on Meta::CPAN
Levels are only calculated once for a given topology and then cached. The call
will croak if the $topology hasn't been L<finished|"finish"> yet.
=item X<finished>$boolean = $topology->finished
Returns true if $topology has been L<finished|"finish">, false otherwise.
=item X<private_data>$old_private_data = $topology->_private_data
Every topology object is associated with one scalar of private data (default
undef). This is perl data meant for the implementer of a Topology class, and
should normally not be manipulated by the user (see
L<user_data|"user_data"> for that).
This method returns that private data.
=item $old_private_data = $topology->_private_data($new_private_data)
Sets new private data, returns the old value.
=item X<user_data>$old_user_data = $topology->user_data
Every topology object is associated with one scalar of user data (default
undef). This is perl data meant for the enduser of a topology class,
and should normally not be manipulated inside the topology class
(see L<private_data|"private_data"> for that).
This method returns that user data.
=item $old_user_data = $topology->user_data($new_user_data)
Sets new user data, returns the old value.
=back
( run in 0.529 second using v1.01-cache-2.11-cpan-49f99fa48dc )