ui: enhancing diagrams

* using min/max instead of source/sink graphviz ranks
* sanitize notices ids on config load