The Assembly Diagram

Assembly diagrams show the dependency relationships between assemblies in your project. This is useful information when you need to refactor the contents of your assemblies into cohesive modules.

Creating an assembly diagram

  1. On the Diagrams menu, click New Assembly Diagram.

Adding an assembly to the diagram

  1. Add assemblies to your diagram using the Assembly Tree or the Auto Select Bar.

  2. LumiCode will automatically layout your diagram anytime something is added to it.

Displaying the classes in the assemblies

  1. Click on an assembly to select it.

  2. Click on the items your want to display on the Classes tab.

You can also use the Access Selection Bar to rapidly select classes based on their access levels.

Select all classes.

Select public classes.

Select private classes.

Unselect all classes.

Removing an assembly from the diagram

  1. Click on the assembly you wish to remove to select it.

  2. Press the Delete key to remove the selected assembly from the diagram. Alternately, use Remove selected on the right click menu.

  3. Assemblies can also be toggled off and on the diagram with the Assembly Tree.

Showing assembly details

  1. Check the Show Details checkbox to display details for all the assemblies on the diagram.

Adding a caption to your diagram

  1. Position the mouse over your diagram and then click the right mouse button. Select Add caption. Enter your text into the Caption Editor.

  2. Click Change Font if you wish to change the font, font size, or text color.

  3. Click OK. Items on the diagram will be moved down to make room for the caption.

Adding a comment to your diagram

  1. Position the mouse over your diagram and then click the right mouse button. Select Add comment. Enter your text into the Comment Editor.

  2. Click Change Font if you wish to change the font, font size, or text color.

  3. Click OK, and then click on the diagram where you want the comment to appear.

  4. An existing comment can be edited by right clicking on it, then selecting Edit.

  5. The comment box width can be adjusted by dragging the left or right edge with the mouse.

Adjusting the layout of your diagram

When your diagram contains all the assemblies you wish to display, you can fine tune the appearance by dragging the assemblies on the diagram with the left mouse button.

If you spend time tweaking your diagram, and then add something, your tweaking will be lost. For this reason, you should put everything you need on the diagram before you begin adjusting positions.