Componentsbeta for Circuit Diagram


Flags are placed in the <declaration> tag of the component file, and allow you to set special options when conditions are met.

Flags enable you to perform the following:

  • Force the middle of the component to align to the grid
  • Only allow the component to be horizontal
  • Only allow the component to be vertical

The syntax is as follows:

<flags conditions="CONDITIONS">

You can place more than one <flags> tag in the <declaration> section, and the conditions attribute (which follow the same syntax as the property conditions described earlier) is optional.

Choose from the following flags:

  • HorizontalOnly
  • MiddleMustAlign

Next: connections