Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8514

Add possibility to customize graph layout for dependency graph viewer

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      For instance, "rankdir=LR"

        Attachments

          Activity

          Hide
          tk694h tk694h added a comment -

          I agree I have a project that consists of 22 build jobs that consist of a level hiearchy. I copy/pasted the code and added rankdir=LR and the graph is much more readable so I'd love to see this improvement implemented!

          Show
          tk694h tk694h added a comment - I agree I have a project that consists of 22 build jobs that consist of a level hiearchy. I copy/pasted the code and added rankdir=LR and the graph is much more readable so I'd love to see this improvement implemented!
          Hide
          mbr Bruno Marti added a comment -

          I'm getting graphs with yellow background color. Not really nice.
          How to add customize support like:

          • -bgcolor white

          (jenkins 1.420, Dependency Graph View Plugin 0.1, dot 2.26.3)

          Show
          mbr Bruno Marti added a comment - I'm getting graphs with yellow background color. Not really nice. How to add customize support like: -bgcolor white (jenkins 1.420, Dependency Graph View Plugin 0.1, dot 2.26.3)
          Hide
          jimsearle Jim Searle added a comment -

          It would be really nice to have a global and job specific setting for customizing things like:

          graph [
          fontname = "Helvetica-Oblique",
          fontsize = 6,
          ratio = .5,
          ];

          and also the node style as well

          Show
          jimsearle Jim Searle added a comment - It would be really nice to have a global and job specific setting for customizing things like: graph [ fontname = "Helvetica-Oblique", fontsize = 6, ratio = .5, ]; and also the node style as well
          Hide
          nneul Nathan Neulinger added a comment -

          I'd like to be able to do this as well, in my case, I just tweaked it with a tiny wrapper script:

          #!/usr/bin/perl

          my $tf = "/tmp/tmp-dot-$$-" . time;
          open(my $out, ">$tf");
          while ( defined(my $line = <STDIN>) )
          {
          print $out $line;
          if ( $line =~ /^digraph/ )

          { print $out "nodesep=0.25;"; print $out "ranksep=1;"; print $out "rankdir=LR;"; }

          }

          open(STDIN, "<$tf");
          unlink($tf);
          system("/usr/bin/dot", @ARGV);

          Show
          nneul Nathan Neulinger added a comment - I'd like to be able to do this as well, in my case, I just tweaked it with a tiny wrapper script: #!/usr/bin/perl my $tf = "/tmp/tmp-dot-$$-" . time; open(my $out, ">$tf"); while ( defined(my $line = <STDIN>) ) { print $out $line; if ( $line =~ /^digraph/ ) { print $out "nodesep=0.25;"; print $out "ranksep=1;"; print $out "rankdir=LR;"; } } open(STDIN, "<$tf"); unlink($tf); system("/usr/bin/dot", @ARGV);

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            voorth voorth
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: