Thursday, November 18, 2004

Tool for creating sequence diagrams: SEQUENCE

SEQUENCE is a Java tool for creating UML sequence diagrams out of a text input, and you can export the diagram as a PNG image. Unfortunately, there´s no support for XMI at the moment.

Below is an example of the text used to describe a sequence diagram:


// Method arguments are placed after the method name, surrounded by ( and ). You
// can place anything you want inside the ( and ) but if you want to include a ) you'll
// have to escape it with a objectOne.methodOne {
objectTwo.methodTwo(foo, bar) -> value {
objectThree.methodThree(value) -> anotherValue;
objectFour.methodFour();
}
}

No comments: