/[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 1078 by dpavlin, Sat Jan 10 01:27:28 2009 UTC revision 1079 by dpavlin, Thu Jun 4 20:30:24 2009 UTC
# Line 69  has show_disconnected => ( Line 69  has show_disconnected => (
69  );  );
70    
71    
72    has layout => (
73            documentation => 'layout algorithm',
74            is => 'rw',
75            isa => 'Str',
76            required => 1,
77    );
78    
79    sub layout_available { q/
80    dot             directed graph
81    neato   spring model
82    twopi   radial
83    circo   circular
84    fdp             force directed spring model
85    / }
86    
87  has portrait => (  has portrait => (
88          documentation => 'vertical layout',          documentation => 'vertical layout',
89          is => 'rw',          is => 'rw',
# Line 90  sub as_markup { Line 105  sub as_markup {
105    
106          my $g = GraphViz->new(          my $g = GraphViz->new(
107                  rankdir => $rankdir,                  rankdir => $rankdir,
108                    layout => $self->layout,
109  #               layout => 'neato', # grabs too much memory  #               layout => 'neato', # grabs too much memory
110  #               layout => 'twopi', # grabs too much memory  #               layout => 'twopi', # grabs too much memory
111  #               overlap => 'compress',  #               overlap => 'compress',
112  #               no_overlap => 1,                  no_overlap => 1,
113    
114                  node => {                  node => {
115                          shape => 'box',                          shape => 'box',

Legend:
Removed from v.1078  
changed lines
  Added in v.1079

  ViewVC Help
Powered by ViewVC 1.1.26