Creates a stage diagram.
The leaf type this stage diagram applies to.
The name of the stage diagram. Stage diagram is used for defining stage transitions.
List of stages in the diagram.
Whether the leaf type corresponds to a custom object.
Whether this is a default stage diagram.
Success.