Constraint Types
The simple type @ST_ConstraintTypes
defines the constraints that can be used as limits or modifications to the diagram or the nodes held within the diagram. These constraints manage the behavior of many properties that can be defined within the diagram. The different constraints that can be applied to a diagram are as follows:
@unknown
– An unknown constraint. This can be used by implementing applications to define a constraint type outside of the scope of what is defined by this simple type.@alignOff
– specifies the alignment offset@begMarg
– specifies the beginning margin@bendDist
– specifies the distance at which a connector will bend@begPad
– specifies the distance between the edge of the transition node and the connector shape@b
– bottom alignment@bMarg
– the bottom margin@bOff
– specifies the amount of offset relative to the bottom of the node@ctrX
– specifies the center of the node in the X-direction@ctrXOff
– specifies the amount of offset of the center of the node in the X-direction@ctrY
– specifies the center of the node in the Y-direction@ctrYOff
– specifies the amount of offset of the center of the node in the Y-direction@connDist
– specifies the distance between connectors. Intended for use with boolean and reference constraints. Overrides values specified in the layout definition part@diam
– specifies the diameter, and is used within the cycle algorithm type@endMarg
– specifies the end margins@endPad
– specifies the distance between the edge of the transition node and the connector shape@h
– specifies the height@hArH
– specifies the arrowhead height@hOff
– specifies the height offset@l
– specifies the left@lMarg
– specifies the amount of left margin@lOff
– specifies the amount of left offset@r
– specifies right@rMarg
– specifies the amount of right margin@rOff
– specifies the amount of right offset@primFontSz
– specifies the primary font size@pyraAcctRatio
- specifies the fraction of the width of the diagram that is reserved for the fly-outs at their shortest distance@secFontSiz
– specifies the secondary font size@stemThick
– specifies the thickness of the shaft on an arrow@t
– specifies the top@tMarg
– specifies the amount of top margin@tOff
– specifies the amount of top offset@userA
through@userZ
– User defined information. This set of enumerations allow a user to define specific values which can be referenced at a later time within a diagram definition. For example, if the value 5.1 was important to the layout and definition of a diagram, the user could define userA to be equal to 5.1 and then use the userA constraint within the diagram definition. This would allow a single place to update the value across the entire diagram definition.@w
– specifies the width@wArH
– specifies the width of an arrowhead@wOff
– specifies the amount of width offset