Skip to content

Commit

Permalink
Fixing truncated diagram for project overview.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmoSys BOT committed May 17, 2022
1 parent 041bc37 commit 57e50e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/cosmosys_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def calculate_graphs(root_url)
# Create a new dependence graph
if self.project.issues.first != nil then
# Create a new hierarchy graph
hg = GraphViz.new( :G, :type => :digraph,:margin => 0, :ratio => 'compress', :size => "40,30", :strict => true, :rankdir => self.project.issues.first.csys.get_hierankdir)
hg = GraphViz.new( :G, :type => :digraph,:margin => 0, :ratio => 'compress', :size => "3000,3000", :strict => true, :rankdir => self.project.issues.first.csys.get_hierankdir)
hcl = hg.add_graph(:clusterD, :label => 'Hierarchy', :labeljust => 'l', :labelloc=>'t', :margin=> '5')
dg = GraphViz.new( :G, :type => :digraph,:margin => 0, :ratio => 'compress', :size => "40,30", :strict => true, :rankdir => self.project.issues.first.csys.get_deprankdir)
dg = GraphViz.new( :G, :type => :digraph,:margin => 0, :ratio => 'compress', :size => "3000,3000", :strict => true, :rankdir => self.project.issues.first.csys.get_deprankdir)
dcl = dg.add_graph(:clusterD, :label => 'Dependences', :labeljust => 'l', :labelloc=>'t', :margin=> '5')

self.project.issues.each{|n|
Expand Down

0 comments on commit 57e50e0

Please sign in to comment.