The Diagrammer uses a set of drawing tools to draw a diagram. Once the Diagrammer is opened, the
input diagram can be drawn using a set of drawing tools that can be accessed via the toolbar, menus,
and pop-up menus. The toolbar buttons and menu items available for drawing are: Move tool, Draw
square, Draw circle, Draw factor model, Draw growth model, Draw path, Draw covariance, Draw
residual, and Add caption. All of the toolbar buttons are shown in the picture below.
To draw a diagram of a factor model, click on the Draw factor model button or select Draw factor model
from the Diagram menu and then click on the open page. A prompt for the number of observed
variables will appear followed by a prompt asking whether default variable names should be used or
variables names should be entered. If the prompt Enter variable names is selected, a prompt for the
name of the factor is followed by a prompt for the names of the observed variables. A second factor
model can be added by clicking again on the page. To move the factor model, right-click on the factor
circle or on any of the factor indicator squares and choose Select factor/growth model. This activates
the Move tool. Click on the part of the page where you want the factor model to be placed or drag it
there. To deselect the factor model, right-click anywhere on the page and select Deselect all. An
observed variable can be added to the model by clicking on the Draw square button or selecting Draw
square from the Diagram menu. An arrow can be used to connect the factor to the observed variable by
clicking on the Draw path button or selecting Draw path from the Diagram menu. When Draw path is
selected, click on the object from which the arrow originates and pull the arrow head to the object
where the arrow ends. Click on that object. In addition to the drawing tools, pop-up menus are
available. Right-clicking on an object or a blank area in the diagram brings up pop-up menus showing all
available options. When using a one-button Mac mouse, press the control key while pressing the mouse
button to bring up the pop-up menus. The combination of the control key and mouse click is the same
as a right-click on a two-button mouse.
While a diagram is being drawn on the left-hand side of the screen, the MODEL command is being
written on the right-hand side of the screen. When the input diagram is complete, the rest of the Mplus
language can be added to the right-hand side of the screen. The analysis can be run by clicking on the
RUN button. A file with a dgm extension is created that contains the diagram. The diagram can also be
saved as a PDF using the Export to PDF option of the FILE menu. To make changes to the diagram after it
is opened, click on the Input mode menu item of the Diagram menu. This option switches the diagram
from an output diagram to an input diagram where changes to the diagram can be made. The input file
is shown on the right-hand side of the screen. Prior to the analysis, the diagram and input file can be
saved by using the Save option of the File menu. The file has an mdg extension. It contains both the
diagram and the input file.
Output Diagram
The Diagrammer can be used to view a diagram created from an analysis. This is the default. For other
choices, see the Mplus menu in the Mplus Editor. To use the
Diagrammer to view a diagram, open an input and click on the RUN button. Once the analysis is
completed, the output diagram will open automatically behind the output file. The diagram can be
edited using the drawing tools described above. Parameter estimates and standard errors are printed on