Creating a New Diagram

Set the default diagram location

Each AgileJ StructureViews diagram is stored in its own resource file with the extension .ajsv. There is no central registry of diagram files, they are each a free standing file. You are free to make diagram files anywhere within any Eclipse project, although it is normally easiest to make a dedicated project just for diagrams. Note that you can use any type of project for storing diagram files. Since version 1.5.4 we have added the property of Default Diagram Location which speeds up the creation of making new diagrams by assigning a single folder to contain all new diagram files.

You can re-locate diagram files anywhere within your workspace and they will still work.

Run the diagram creation wizard

Select File-New-Other. Eclipse will prompt you to select a wizard.

Select AgileJ StructureViews Diagram then press Next >.

Select the first option to just make an empty diagram.

Next you are asked where you would like to locate your new diagram file. As the default location has already been set we can just press Next >

Finally - enter a file name and press Finish.

A new editor will open in the workbench with a dark gray canvas ready to have classes dragged onto it.

Population Options

On the first of the wizard pages above was the option to create a pre-populated diagram by selecting populate by package, by inheritance or by dependence. These options create a diagram containing a group of related types. The types are collected non-recursively.