public void write ( Workspace workspace , Writer writer ) { workspace . getViews ( ) . getSystemContextViews ( ) . forEach ( v -> write ( v , null , writer ) ) ; workspace . getViews ( ) . getContainerViews ( ) . forEach ( v -> write ( v , v . getSoftwareSystem ( ) , writer ) ) ; workspace . getViews ( ) . getComponentViews ( ) . forEach ( v -> write ( v , v . getContainer ( ) , writer ) ) ; }
Writes the views in the given workspace as DOT notation to the specified Writer .