Alec Aivazis edited application.tex  over 9 years ago

Commit id: d526ab0b54f284efcbd1bdbd409583b78a4514f6

deletions | additions      

       

The middle section is the primary interaction area and displays the current diagram and its title. The user can add elements to the diagram in two ways: using the shortcuts described in section \ref{sect:shortcuts}, or by dragging and element from the toolbar on the right and dropping it on somewhere on the grid. Note that when the element is placed, the application will try to merge the two anchors with any overlaps in order to fit it in the diagram.  It is important to note that the user can hold the spacebar down while dragging in order to pan around the canvas and can scroll with his/her wheel in order to zoom in/out accordingly.  \subsubsection{Item Palette / Element Configuration}  When no element is selected, the right most area shows the item palette which provides a way for the user to add various elements to the diagram by dragging them from the buttons on the right and dropping them on the canvas. When the element is placed, the application first looks for overlapping anchors and performs a merge if necessary, then it looks for overlapping lines, and finally shapes which would act as a constraint to the anchor. There is also a button to draw pre-defined patterns onto the diagram (overwritting anything that was previously present).