Changeset 279


Ignore:
Timestamp:
Sep 25, 2017, 5:34:00 PM (7 years ago)
Author:
g7moreau
Message:
  • double arrow for trunk port
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r278 r279  
    28412841
    28422842            my $peripheries = 1;
    2843             $peripheries = 2 if $db_switch_output_port{$sw} =~ m/^(Trk|Br|Po)/;
     2843            my $color = 'black';
     2844            if ($db_switch_output_port{$sw} =~ m/^(Trk|Br|Po)/) {
     2845               $peripheries = 2;
     2846               $color = "\"$color:invis:$color\"";
     2847               }
    28442848            print "\"$sw:$db_switch_output_port{$sw}\" [label = \"".format_aggregator4dot($db_switch_output_port{$sw})."\", color = black, fillcolor = lightblue,  peripheries = $peripheries, style = filled];\n";
    28452849
     
    28482852            print "\"$sw\" [label = \"$swname\", color = black, fillcolor = palegreen, shape = rect, style = filled];\n";
    28492853            print "\"location$b-$l\" -> \"$sw\" [len = 2, color = firebrick, arrowtail = dot]\n";
    2850             print "\"$sw\" -> \"$sw:$db_switch_output_port{$sw}\" [len=2, style=bold, arrowhead = normal, arrowtail = invdot]\n";
     2854            print "\"$sw\" -> \"$sw:$db_switch_output_port{$sw}\" [len=2, style=bold, color = $color, arrowhead = normal, arrowtail = invdot]\n";
    28512855
    28522856
     
    28582862               $peripheries = 2 if $port_connect =~ m/^(Trk|Br|Po)/;
    28592863               print "\"$sw:$port_connect\" [label = \"".format_aggregator4dot($port_connect)."\", color = black, fillcolor = plum,  peripheries = $peripheries, style = filled];\n";
    2860                print "\"$sw:$port_connect\" -> \"$sw\" [len=2, style=bold, arrowhead= normal, arrowtail = inv]\n";
     2864               print "\"$sw:$port_connect\" -> \"$sw\" [len=2, style=bold, color = $color, arrowhead= normal, arrowtail = inv]\n";
    28612865              }
    28622866            }
Note: See TracChangeset for help on using the changeset viewer.