[UI] Refactor component diagram visuals
Base classes for standard boxes-and-wires diagram have been introduced in order to avoid code duplication among similar diagram types.
Issue-Ref: 3874 Issue-Url: https://af3-developer.fortiss.org/issues/3874
Signed-off-by: Tiziano Munaro munaro@fortiss.org