Enclosures


When "Enclosure" is selected,  a dashed box appears on the screen, with a shallow rectangle in the middle of the top line.  Any of the the corners can be dragged in any direction, or the small rectangle at the top can be dragged, in which case the Enclosure as a whole is dragged.

Enclosures are used for a number of diagramming purposes - they do not cause any code to be generated.

Right-clicking on the small rectangle brings up a popup menu showing operations that can be performed on it.  Currently there are seven:


Edit Subnet Port Name (deprecated)

This function can now be performed by editing the External Port block in the appropriate subnet.

Toggle Substream Sensitivity (deprecated)

This function can now be performed by editing the External Port block in the appropriate subnet.

Excise Subnet

This function will "excise" those blocks and arrows which are completely enclosed by the Enclosure block, and create a new subnet including those blocks and arrows. Arrows that cross the Enclosure boundary will have External Ports attached to them, which can be edited to specify the external port names, or to toggle the substream sensitivity indicator.

The user wil be prompted to enter the "external port" names for the new subnet, as well as the .drw file name for the new subnet, and a description.

Arrows crossing the Enclosure boundary in the "source" diagram will be attached roughly to the new subnet block - if the user wishes to change their position, they can be adjusted using the arrow "drag" function - either dragging the tail or the head of the arrow as appropriate.

Before doing an Excise, the user should save the diagram being worked on.

Drag Contents

Clicking on this function will allow all blocks and arrows within the enclosure to be moved as a unit (see Dragging below).