code: 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));
      }
docs: Writes the views in the given workspace as DOT notation, to the specified Writer.
  
  @param workspace     the workspace containing the views to be written
  @param writer        the Writer to write to