SubprocFormat - eaclark/Meander GitHub Wiki

Introduction

Subproc's provide a grouping mechanism within a flow that can be used for a couple of different reasons. For example, you might use subprocs:

  • as a 'begin'/'end' blocking technique with one at the start of a subsection of the flow and one at the end of that subsection to visually break out that portion of the flow.
  • to indicate that a non-trivial amount of activity happens at this point in the flow, but that is too low level to describe in detail. This use is similar to the use of 'exchange', but a 'subproc' implies that the activity involves more than two nodes or more than just message exchange.
  • in a high level flow as a placeholder to indicate a portion of the flow that is described in a separate flow.

Subproc's have a counter associated with them that gets bumped when used. The current value of this counter is used to construct the default label for the subproc.

Details

Consider the following capture of a portion of a source file,

Images/subproc-src.png

This resulted in the following output,

Images/subproc-out.png

Default Style