Changeset 156 for trunk/klask


Ignore:
Timestamp:
Jun 8, 2016, 9:30:23 PM (8 years ago)
Author:
g7moreau
Message:
  • Pb of label in dot format (no "")
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r155 r156  
    22662266         for my $sw (keys %{$db_building{$building}->{$loc}}) {
    22672267
    2268             print "\"$sw:$db_switch_output_port{$sw}\" [label = $db_switch_output_port{$sw}, color = black, fillcolor = lightblue,  peripheries = 2, style = filled];\n";
     2268            print "\"$sw:$db_switch_output_port{$sw}\" [label = \"$db_switch_output_port{$sw}\", color = black, fillcolor = lightblue,  peripheries = 2, style = filled];\n";
    22692269
    22702270            my $swname  = $sw;
     
    22792279               next if not $sw_connect eq $sw;
    22802280               next if $port_connect eq $db_switch_output_port{$sw};
    2281                print "\"$sw:$port_connect\" [label = $port_connect, color = black, fillcolor = plum,  peripheries = 1, style = filled];\n";
     2281               print "\"$sw:$port_connect\" [label = \"$port_connect\", color = black, fillcolor = plum,  peripheries = 1, style = filled];\n";
    22822282               print "\"$sw:$port_connect\" -> \"$sw\" [len=2, style=bold, arrowhead= normal, arrowtail = inv]\n";
    22832283              }
Note: See TracChangeset for help on using the changeset viewer.