/[Frey]/trunk/lib/Frey/Class/Graph.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Class/Graph.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1098 by dpavlin, Thu Jun 4 20:45:28 2009 UTC revision 1099 by dpavlin, Sun Jun 28 22:19:17 2009 UTC
# Line 164  sub as_markup { Line 164  sub as_markup {
164                          foreach my $role ( keys %{ $data->{roles} } ) {                          foreach my $role ( keys %{ $data->{roles} } ) {
165                                  next if $filter && $self->filter_roles && $role !~ m{$filter};                                  next if $filter && $self->filter_roles && $role !~ m{$filter};
166                                  warn "# $class\trole\t$role\n";                                  warn "# $class\trole\t$role\n";
167                                  $g->add_edge( $role => $class, label => 'role', color => 'yellow' );                                  $g->add_edge( $role => $class, label => 'with', color => 'yellow' );
168  #                               $g->add_node( $role, rank => 'role' );                                  $g->add_node( $role, shape => 'diamond' );
169                                  $count->{$class}++;                                  $count->{$class}++;
170                                  $count->{$role}++;                                  $count->{$role}++;
171                          }                          }

Legend:
Removed from v.1098  
changed lines
  Added in v.1099

  ViewVC Help
Powered by ViewVC 1.1.26