diff options
| -rw-r--r-- | lib/MGA/Mirrors/Controller/Graph.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/MGA/Mirrors/Controller/Graph.pm b/lib/MGA/Mirrors/Controller/Graph.pm index a2b6ad6..1616f67 100644 --- a/lib/MGA/Mirrors/Controller/Graph.pm +++ b/lib/MGA/Mirrors/Controller/Graph.pm @@ -40,6 +40,10 @@ sub index :Path :Args(0) { foreach ($from, $to) { if (!$nodadded{$_}) { $graph->add_node($_, shape => 'box', cluster => $node{$_}{country}); + if ($_ =~ /mageia\.org$/) { + # The Mageia source host is made colourful since it's the source + $graph->add_node($_, style => 'filled', fillcolor => '#c3ddfc'); + } } } # Minimum bandwidth of both nodes |
