add classDiagramWrite