Changeset 306


Ignore:
Timestamp:
Oct 19, 2017, 6:50:32 PM (7 years ago)
Author:
g7moreau
Message:
  • Add graph_shift=3 support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r305 r306  
    77use strict;
    88use warnings;
    9 use version; our $VERSION = qv('0.7.1');
     9use version; our $VERSION = qv('0.7.2');
    1010
    1111use Readonly;
     
    29872987   print "\n";
    29882988
     2989   # shift graph between 1 or 2 when $graph_shift = 3
     2990   my $graph_breaker = 1;
     2991
    29892992#   print "Switch parent and children port inter-connection\n";
    29902993#   print "------------------------------------------------\n";
     
    30093012               print  "   \"$invisible.a\" [shape=none, label=\"\"];\n";
    30103013               printf "   \"%s:%s\"  -> \"$invisible.a\" [style=invis];\n", $sw, $db_switch_output_port{$sw};
    3011                if ($graph_shift == 2) {
     3014               $graph_breaker++;
     3015               if ($graph_shift == 2 or ($graph_shift == 3 and ($graph_breaker % 2) == 0)) {
    30123016                  # Two invisible node
    30133017                  print  "   \"$invisible.b\" [shape=none, label=\"\"];\n";
Note: See TracChangeset for help on using the changeset viewer.