diagram-editor samples, 06_diagram_editor