ProcessDiagramWidget helper method
ProcessDiagramWidget