add diagram-viewer