Go to the source code of this file.
Variables | |
| $strPageItem = "Sequence" | |
| $strXml = CorujaArrayManipulation::getArrayField( $_REQUEST , "xml" , "" ) | |
| $booPost = ( $strXml != "" ) | |
| $objXmlSequence = @UmlSequenceDiagramFactoryFromXml::getInstance()->setXml( $strXml )->perform() | |
| </div >< divclass="entry">< p > 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 |
| </div >< divclass="entry">< p > 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 append to them notes of | comments |
| </div >< divclass="entry">< p > 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 append to them notes of | colors |
| </div >< divclass="entry">< p > 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 append to them notes of changing | layout |
| </div >< divclass="entry">< p > 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 append to them notes of changing or even to create a new sequence diagram based on some existing one</p >< p > XML of Sequence Diagrams can be created by some different | tool |
| </div >< divclass="entry">< p > 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 append to them notes of changing or even to create a new sequence diagram based on some existing one</p >< p > XML of Sequence Diagrams can be created by some different 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</p > </div >< pclass="meta"> < spanclass="subtopic"> Design Pattern</span >< spanclass="topic"> Sequence Diagram Web Editor </span ></p >< divstyle="clear:both;"> & | nbsp |
| </div >< divclass="entry"> < div >< divclass="comColunas"> < divclass="duasColunas">< p > 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</p > </div >< divclass="duasColunas"> < imgsrc="./images/flow_codetodiagram.png"id="flow_codetodiagram"/> </div ></div >< p > If you have some special | case |
| </div >< divclass="entry"> < div >< divclass="comColunas"> < divclass="duasColunas">< p > 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</p > </div >< divclass="duasColunas"> < imgsrc="./images/flow_codetodiagram.png"id="flow_codetodiagram"/> </div ></div >< p > If you have some special when any of the avaliable printers and factorys solve your | problem |
| </div >< divclass="entry"> < div >< divclass="comColunas"> < divclass="duasColunas">< p > 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</p > </div >< divclass="duasColunas"> < imgsrc="./images/flow_codetodiagram.png"id="flow_codetodiagram"/> </div ></div >< p > If you have some special when any of the avaliable printers and factorys solve your everthing it is extremly well< a href="http: to help to you create new classes and append new features. </p> </div> </div> <p class="meta"> <span class="subtopic"> <a href="classDiagram.php#Class Diagram Web Editor">Comming Soon Features</a></span> <span class="topic">Sequence Diagram Web Editor</span> </p> <div style="clear:both;"> </div> <div class="entry"> <p> 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. </p> <p> 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. </p> <p> As said above, <strong>The Sequence Diagram generation still is in working progress </strong>, some necessary features are missing, new features are append each day. You can help to accelerate this development making a <a href="#donation">donation</a>. </p> <p> Future features: </p> <ul> <li> Change the output from HTML to CanvasBox </li> <li> Rename Actors </li> <li> Move Actors and Messages </li> <li> Append Actors </li> <li> Append Messages </li> <li> Append Comments </li> <li> Zoom in / out </li> <li> Write XML File </li> <li> Read XML File </li> </ul> </div> <p class="meta"> <span class="subtopic"><a href="classDiagram.php#Class Diagram Web Editor">What is already done?</a></span> <span class="topic">Sequence Diagram Web Editor</span> </p> <div style="clear:both;"> </div> <div class="entry"> <p> 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. </p> <p> Actual implemented features: </p> <ul> <li> Read XML File </li> <li> Html Diagram Export </li> <li> Show Actors </li> <li> Show Messages </li> <li> Show Comments </li> <li> Show Messages Return </li> <li> Show Messages Parameters </li> <li> Code Instrumentation XML Sequence Diagram Generation </li> </ul> <div class="comColunas"> <div class="duasColunas"> <p> in a short preview <a href="https: </p >< div class="php">< p class="line">< span class="tag"> <?php</span ></p >< p class="line">< span class="function"> require_once</span >< span class="parenthesis"></span > < a href="https: class="string"> '../../public/codetodiagram.php' </span></a><span class="parenthesis">) </span><span class="semicolon">; </span> </p> <p class="line"> <span class="php_class"> CodeToDiagram</span><span class="static_operator">:: </span><span class="method"> getInstance</span><span class="parenthesis">) </span><span class="caller">-> </span><span class="method"> start</span><span class="parenthesis">) </span><span class="semicolon">; </span> </p> <p class="line"> <span class="function"> require_once</span><span class="parenthesis"> </span><a href="https:class="string"> 'Wolf.class.php'</span ></a > < span class="parenthesis">) </span >< span class="semicolon">; </span ></p >< p class="line"> < span class="function"> require_once</span >< span class="parenthesis"></span > < a href="https: class="string"> 'House.class.php'</span></a> <span class="parenthesis">) </span><span class="semicolon">; </span> </p> <p class="line"> <span class="function"> require_once</span><span class="parenthesis"> </span><a href="https:class="string"> 'Pig.class.php'</span ></a > < span class="parenthesis">) </span >< span class="semicolon">; </span ></p >< p class="line"> < span class="function"> require_once</span >< span class="parenthesis"></span > < a href="https: class="string"> 'History.class.php'</span></a> <span class="parenthesis">) </span><span class="semicolon">; </span> </p> <p class="line"> <span class="new">new</span> <span class="space"> </span><span class="object"> History</span><span class="parenthesis">) </span><span class="semicolon">; </span> </p> <p class="line"> <span class="tag">?></span> </p> </div> </div> <div class="duasColunas"> <div> <p> Will bring to you this: </p> <p> <a style="border-style:none;" href="../examples/ThreeLittlePigs/threeLittlePigs.php"> <img id="pig_small" src="./images/pigs_small.png" alt="three little pigs diagram automatically generated" longdesc="./images/pigs_small.txt" /> </a> </p> </div> </div> </div> <div class="comColunas"> <div class="duasColunas"> <p> And this xml (click on xml to edit it): </p> <a name="draw"><span> </span></a> <div class="myXml" onclick="editXml()"> <div id="myHightLightXml" title="click me to edit"> <?php CorujaDebug::printXmlCode( ($strXml ) );?> </div> <div id="editXml" title="tab to save"> <form id="refreshXml" action="sequenceDiagram.php#draw" method="post" target="_self"> <textarea id="textAreaXml" name="xml" onchange="refreshXml()" onblur="backToHightLight()" > <?php print $strXml; ?> </textarea> </form> </div> </div> <script> function refreshXml() { document.getElementById( "refreshXml" ).target = "_self"; document.getElementById( "refreshXml" ).submit(); } function editXml() { objHXml = document.getElementById( "myHightLightXml" ); objEXml = document.getElementById( "editXml" ); objHXml.style.display = "none"; objEXml.style.display = "block"; } function backToHightLight() { objHXml = document.getElementById( "myHightLightXml" ); objEXml = document.getElementById( "editXml" ); objHXml.style.display = "block"; objEXml.style.display = "none"; } function fullscreenMode() { document.getElementById( "refreshXml" ).action = "sequenceDiagramFullScreen.php"; document.getElementById( "refreshXml" ).target = "_blank"; document.getElementById( "refreshXml" ).submit(); } </script> </div> <div style="width:100%;float:left"> <p> Will bring to you this: </p> <div class="nostyle" id="sequendeDraw" onclick="fullscreenMode()" title="click to see in full screen"> <?php if( $objXmlSequence != null ( UmlSequenceDiagramPrinterToHtml::getInstance()-> perform( $objXmlSequence ) ); } else { ?><strong> Invalid XML | received</strong > |
| $booPost = ( $strXml != "" ) |
Definition at line 6 of file sequenceDiagram.php.
| $objXmlSequence = @UmlSequenceDiagramFactoryFromXml::getInstance()->setXml( $strXml )->perform() |
Definition at line 13 of file sequenceDiagram.php.
| $strPageItem = "Sequence" |
Definition at line 2 of file sequenceDiagram.php.
| $strXml = CorujaArrayManipulation::getArrayField( $_REQUEST , "xml" , "" ) |
Definition at line 5 of file sequenceDiagram.php.
| </div><divclass="entry"><div><divclass="comColunas"><divclass="duasColunas"><p> 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</p></div><divclass="duasColunas"><imgsrc="./images/flow_codetodiagram.png"id="flow_codetodiagram"/></div></div><p> If you have some special case |
Definition at line 78 of file sequenceDiagram.php.
| </div><divclass="entry"><p> 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 append to them notes of colors |
Definition at line 14 of file sequenceDiagram.php.
| </div><divclass="entry"><p> 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 append to them notes of comments |
Definition at line 14 of file sequenceDiagram.php.
| </div><divclass="entry"><p> 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 |
Definition at line 14 of file sequenceDiagram.php.
| </div><divclass="entry"><p> 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 append to them notes of changing layout |
Definition at line 14 of file sequenceDiagram.php.
| </div><divclass="entry"><p> 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 append to them notes of changing or even to create a new sequence diagram based on some existing one</p><p> XML of Sequence Diagrams can be created by some different 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</p></div><pclass="meta"><spanclass="subtopic"> Design Pattern</span><spanclass="topic"> Sequence Diagram Web Editor</span></p><divstyle="clear:both;"> & nbsp |
Definition at line 14 of file sequenceDiagram.php.
| </div><divclass="entry"><div><divclass="comColunas"><divclass="duasColunas"><p> 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</p></div><divclass="duasColunas"><imgsrc="./images/flow_codetodiagram.png"id="flow_codetodiagram"/></div></div><p> If you have some special when any of the avaliable printers and factorys solve your problem |
Definition at line 78 of file sequenceDiagram.php.
| </div><divclass="entry"><div><divclass="comColunas"><divclass="duasColunas"><p> 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</p></div><divclass="duasColunas"><imgsrc="./images/flow_codetodiagram.png"id="flow_codetodiagram"/></div></div><p> If you have some special when any of the avaliable printers and factorys solve your everthing it is extremly well<a href="http: to help to you create new classes and append new features. </p> </div> </div> <p class="meta"> <span class="subtopic"><a href="classDiagram.php#Class Diagram Web Editor">Comming Soon Features</a></span> <span class="topic">Sequence Diagram Web Editor</span> </p> <div style="clear: both;"> </div> <div class="entry"> <p> 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. </p> <p> 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. </p> <p> As said above, <strong>The Sequence Diagram generation still is in working progress</strong>, some necessary features are missing, new features are append each day. You can help to accelerate this development making a <a href="#donation">donation</a>. </p> <p> Future features: </p> <ul> <li> Change the output from HTML to CanvasBox </li> <li> Rename Actors </li> <li> Move Actors and Messages </li> <li> Append Actors </li> <li> Append Messages </li> <li> Append Comments </li> <li> Zoom in / out </li> <li> Write XML File </li> <li> Read XML File </li> </ul> </div> <p class="meta"> <span class="subtopic"><a href="classDiagram.php#Class Diagram Web Editor">What is already done?</a></span> <span class="topic">Sequence Diagram Web Editor</span> </p> <div style="clear: both;"> </div> <div class="entry"> <p>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. </p> <p> Actual implemented features: </p> <ul> <li> Read XML File </li> <li> Html Diagram Export </li> <li> Show Actors </li> <li> Show Messages </li> <li> Show Comments </li> <li> Show Messages Return </li> <li> Show Messages Parameters </li> <li> Code Instrumentation XML Sequence Diagram Generation </li> </ul> <div class="comColunas"> <div class="duasColunas"> <p> in a short preview <a href="https: </p> <div class="php"> <p class="line"> <span class="tag"><?php</span> </p> <p class="line"><span class="function">require_once</span><span class="parenthesis"></span><a href="https: class="string">'../../public/codetodiagram.php'</span></a><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="php_class">CodeToDiagram</span><span class="static_operator">::</span><span class="method">getInstance</span><span class="parenthesis">)</span><span class="caller">-></span><span class="method">start</span><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="function">require_once</span><span class="parenthesis"></span><a href="https: class="string">'Wolf.class.php'</span></a><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="function">require_once</span><span class="parenthesis"></span><a href="https: class="string">'House.class.php'</span></a><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="function">require_once</span><span class="parenthesis"></span><a href="https: class="string">'Pig.class.php'</span></a><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="function">require_once</span><span class="parenthesis"></span><a href="https: class="string">'History.class.php'</span></a><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="new">new</span><span class="space"> </span><span class="object">History</span><span class="parenthesis">)</span><span class="semicolon">;</span> </p> <p class="line"><span class="tag">?></span> </p> </div> </div> <div class="duasColunas"> <div> <p> Will bring to you this: </p> <p> <a style="border-style:none;" href="../examples/ThreeLittlePigs/threeLittlePigs.php"> <img id="pig_small" src="./images/pigs_small.png" alt="three little pigs diagram automatically generated" longdesc="./images/pigs_small.txt" /> </a> </p> </div> </div> </div> <div class="comColunas"> <div class="duasColunas"> <p> And this xml (click on xml to edit it): </p> <a name="draw"><span> </span></a> <div class="myXml" onclick="editXml()"> <div id="myHightLightXml" title="click me to edit"> <?php CorujaDebug::printXmlCode( ($strXml ) );?> </div> <div id="editXml" title="tab to save"> <form id="refreshXml" action="sequenceDiagram.php#draw" method="post" target="_self"> <textarea id="textAreaXml" name="xml" onchange="refreshXml()" onblur="backToHightLight()" ><?php print $strXml; ?></textarea> </form> </div> </div> <script> function refreshXml() { document.getElementById( "refreshXml" ).target = "_self"; document.getElementById( "refreshXml" ).submit(); } function editXml() { objHXml = document.getElementById( "myHightLightXml" ); objEXml = document.getElementById( "editXml" ); objHXml.style.display = "none"; objEXml.style.display = "block"; } function backToHightLight() { objHXml = document.getElementById( "myHightLightXml" ); objEXml = document.getElementById( "editXml" ); objHXml.style.display = "block"; objEXml.style.display = "none"; } function fullscreenMode() { document.getElementById( "refreshXml" ).action = "sequenceDiagramFullScreen.php"; document.getElementById( "refreshXml" ).target = "_blank"; document.getElementById( "refreshXml" ).submit(); } </script> </div> <div style="width:100%;float:left"> <p> Will bring to you this: </p> <div class="nostyle" id="sequendeDraw" onclick="fullscreenMode()" title="click to see in full screen"> <?php if( $objXmlSequence != null ) { print ( UmlSequenceDiagramPrinterToHtml::getInstance()->perform( $objXmlSequence ) ); } else { ?><strong> Invalid XML received</strong > |
Definition at line 78 of file sequenceDiagram.php.
| </div><divclass="entry"><p> 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 append to them notes of changing or even to create a new sequence diagram based on some existing one</p><p> XML of Sequence Diagrams can be created by some different tool |
Definition at line 14 of file sequenceDiagram.php.
1.5.9