Alex Moffat has created a wonderful little tool to rapidly create UML sequence diagrams. The GPL licensed Java application, appropriately named "Sequence", creates diagrams from short sequence descriptions and allows you to export them to a PNG file. Sequence can't replace more sophisticated applications like TogetherJ or Visio, lacking e.g. support for asynchronous messages, but serves well as a small tool for quick sketches. You can literally design your first diagram seconds after downloading the Jar file.
Example of a small sequence diagram: Loading a media file via the user interface. The MediaPlayer class notifies its caller of the properties of the loaded file, which results in an updated user interface. |
The image above was created from this code:
GUI.handleUserAction {
MediaManager.load(filename) {
MediaPlayer.load(datastream) {
MediaManager.updateMediaProperties() {
GUI.updateDisplay()
}
}
}
}
Comments
Comments are closed. You can contact me instead.