Sequence Diagram Web Editor
This tool can be used to create new Sequence Diagram without existing code as well to bring more richness and personalize diagrams created by a code execution or by some XML File, append to them notes of comments, colors, changing layout, or even to create a new sequence diagram based on some existing one.
XML of Sequence Diagrams can be created by some different tool, into a different language. The Sequence Diagram Editor will receive the XML file by a POST and return the created diagram without any problems. The XML used it is much more simple of the XML of the UML XMI.
The pattern used here was the factorys and printers. There is many factorys what builds UML sequence diagram objects and many options of printers what create a different result based on the UML sequence diagram object received.
If you have some special case, when any of the avaliable printers and factorys solve your problem, everthing it is extremly well doc to help to you create new classes and append new features.
As a web tool it has no plataform restriction and new features of colaborative edition using google wave and become a google application are into the planned features.
The Sequence Diagram Web Tool is undergoing a complete rewrite phase, leaving to generate a static HTML output to generate an output on Javascript Canvas Web Tool, using CanvasBox where the diagram can be changed, saved, exported, etc. The HTML output can be one type of export output.
As said above, The Sequence Diagram generation still is in working progress, some necessary features are missing, new features are append each day. You can help to accelerate this development making a donation.
Future features:
- Change the output from HTML to CanvasBox
- Rename Actors
- Move Actors and Messages
- Append Actors
- Append Messages
- Append Comments
- Zoom in / out
- Write XML File
- Read XML File
w This is the actual version of the Sequence Diagram Web Editor what will be deprecated with the new canvas version. This actual version make possible read some XML file and created, based on it, a HTML page with the Sequence Diagram. This Sequence Diagram can not be edited except changing the XML File and recreating all the diagram.
Actual implemented features:
- Read XML File
- Html Diagram Export
- Show Actors
- Show Messages
- Show Comments
- Show Messages Return
- Show Messages Parameters
- Code Instrumentation XML Sequence Diagram Generation
in a short preview this code:
<?php
require_once('../../public/codetodiagram.php');
CodeToDiagram::getInstance()->start();
require_once('Wolf.class.php');
require_once('House.class.php');
require_once('Pig.class.php');
require_once('History.class.php');
new History();
?>
And this xml (click on xml to edit it):
Will bring to you this: