]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add some visual improvement
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Mar 2019 13:40:25 +0000 (13:40 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Mar 2019 14:18:16 +0000 (14:18 +0000)
lualib/rspamadm/configgraph.lua

index 3aac97f526d25c682c06dabc1cb20df09ec34b5e..9afc76cd678b4a64fc6f690f549a9a1042d53b42 100644 (file)
@@ -46,6 +46,8 @@ local function output_dot(opts, nodes, adjastency)
     if node.exists then
       if node.priority >= 10 then
         attrs[#attrs + 1] = "color=red"
+      elseif node.priority > 0 then
+        attrs[#attrs + 1] = "color=blue"
       end
     else
       if opts.all then