To this traditional sequence information, Imagix 4D adds a second critical component of advanced analysis - indication of the conditionality controlling the object interactions. Many function calls or variable sets and reads only occur when specific conditions are met Imagix 4D sequence diagrams show this. In order to (1) provide this additional analytical insight and (2) at the same time support visualization of a wider scope of software in limited screen space, Imagix 4D sequence diagrams differ from the standard UML sequence diagram format. Here are a set of functions and variables displayed in a standard call tree graph on the left, and an equivalent sequence diagram on the right. The normal Function Calls with Variables view on the left and the Sequence Diagram with Variables view on the right show the same set of functions ( blue rectangles) and variables ( green tetrahedrons), along with the fundamental calls ( red lines), sets ( aqua lines) and reads relationships between them. While both graphs indicate general control flow horizontally from left to right, the placement of symbols in the call tree layout is optimized simply for readability and understanding. In contrast, the placement in the sequence diagram on the right indicates the actual order that the function calls and variable sets are made. The symbols in the second column appear from top to bottom in the order that they are accessed by the function in the first column. The other major difference between the basic layout of the two graphs is that the sequence diagram shows that the variable is set twice by the function, while this can not be determined from the call graph. This layout also provides an example of where the Imagix 4D sequence diagram varies from the UML format. To minimize space requirements, each symbol in the Imagix 4D diagram appears only once multiple uses of a symbol are indicated by multiple lines connecting into the inbound connector at the upper left side of the symbol shapes. In the sequence diagram on the right, the simple shapes representing functions and variables in the standard call trees are replaced by larger, more complex representations. ![]() The larger shapes retain the same color and general contour, but contain advanced information related to the sequence and conditionality of the symbol interactions. Here again, the format of the Imagix 4D diagram differs from a traditional UML diagram. Imagix 4D's reverse engineered sequence diagrams relate the use of a symbol to a specific line of code. ![]() To display that linkage, a snippet of the source code is displayed within the shape representing the function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |