Add diagram_open