---
title: "Splitting Large UML Sequence Diagrams"
date: "2010-03-31"
tags: 
  - "c"
  - "java"
  - "reverse-engineering"
  - "uml"
  - "uml-tool"
  - "umodel"
  - "visual-basic"
description: Discover how UModel 2010r2 enables the splitting of large UML sequence diagrams during the reverse engineering of Java, C#, and Visual Basic code to enhance clarity and analysis.
---
Status: #blog

Tags:  #c #java #reverse-engineering #uml #uml-tool #umodel #visual-basic

Categories: [Altova](/blog/category/altova.md) 
# Splitting Large UML Sequence Diagrams

A new feature introduced in [UModel 2010](https://www.altova.com/umodel.html) release 2 allows you to split large [sequence diagrams](https://www.altova.com/umodel/sequence-diagrams.html) when you [reverse engineer existing Java, C#, or Visual Basic source code](https://www.altova.com/umodel/uml-reverse-engineering.html). 

What are the advantages of splitting a sequence diagram, and how should you decide to split or not? Obviously, a single diagram makes it easy to examine in one view all the interactions that occur during the execution of a class operation. On the other hand, a large, complex diagram can be cumbersome to view, navigate, analyze, and print in a readable format. Fortunately, UModel 2010r2 makes it quick and easy to experiment. After you generate your sequence diagram, if you don’t like the results, just click the Undo button and you can create a new variation by choosing different options in the Sequence Diagram Generation dialog. Or, you can even apply the Generate Sequence Diagram feature more than once to the same class operation, and maintain multiple versions of the sequence diagram in your model. 

For instance, if you plan to modify the existing code, you might want to keep a permanent record of the “before” and “after” editions to document your changes. We recently adapted our analysis of a bank ATM legacy application to create two new Technical Briefs in the [Reference Library](https://www.altova.com/library.html) section of the Altova Web site, titled [Analyze a Legacy Application with Altova UModel](https://www.altova.com/analyze-a-legacy-application.html) and [Enhance a Legacy Application with Altova UModel](https://www.altova.com/enhance-a-legacy-application.html). Enhancement of the code included adding a new method called getFinalOkay directly in the original source code file for the Withdrawal class. When we completed the [round trip](https://www.altova.com/umodel/uml-round-trip.html) by synchronizing our UModel project with the application code, the split version of the sequence diagram included a dedicated sub-diagram for the new method. The sub-diagram is automatically labeled with a note and hyperlinked to the main diagram. 

[![UML_sequence_diagram](https://lh6.ggpht.com/_REdrfeVqYdU/S7Nu9rcoKKI/AAAAAAAAAJw/O5FCZWoKVck/UML_sequence_diagram_thumb%5B1%5D.gif?imgmax=800 "UML_sequence_diagram")](http://lh4.ggpht.com/_REdrfeVqYdU/S7Nu9CJAInI/AAAAAAAAAJs/P93e_RVjdM8/s1600-h/UML_sequence_diagram%5B3%5D.gif) 

If you’re ready to see for yourself how a visual software model can help you work with your own legacy application, [click here to download](https://www.altova.com/download/umodel/uml_tool_enterprise.html) a fully-functional free trial of [Altova UModel](https://www.altova.com/products/umodel/uml_tool.html)!
