Changeset 247
Author: blaine
(2011/02/03 09:26) Over 1 year ago
buttons in embed diagrams and text improvments in the new version of the site
Author: blaine
(2011/02/03 09:26) Over 1 year ago
buttons in embed diagrams and text improvments in the new version of the site
* @param integer id* @param id integer{{{{objContext.clearRect( 0, 0, this.width, this.height );0,0,Math.max( this.width , this.defaultWidth ),Math.max( this.height , this.defaultHeight ));{{this.objCanvasHtml.setAttribute( "width" , ( this.defaultWidth * 10 ) + "px" );var dblProportion = this.defaultHeight / this.defaultWidth;this.objCanvasHtml.setAttribute( "height" , ( this.defaultHeight * 10 ) + "px" );var intWidth = 1000;var intHeight = Math.round( intWidth * dblProportion );var dblOldZoom = this.dblZoom;var dblNewZoom = intWidth / this.defaultWidth;this.objCanvasHtml.setAttribute( "width" , ( intWidth ) + "px" );this.objCanvasHtml.setAttribute( "height" , ( intHeight ) + "px" );this.dblZoom *= 10;this.dblZoom = dblNewZoom;this.dblZoom /= 10;this.dblZoom = dblOldZoom;this.x = this.objElement.x + this.intRelativeX + this.intPaddingLeft;this.y = this.objElement.y + this.intRelativeY + this.intPaddingTop;Actual implemented features:Already implemented features:intWidth = document.getElementById("box").clientWidth;document.getElementById("box").clientWidth, 700 );intWidth , intWidth );window.objBox = objBox;objClass.objBehavior = new window.autoload.newCanvasBoxMagneticBehavior( objClass );objClass.objBehavior = new window.autoload.newCanvasBoxDefaultBehavior( objClass );objClass.x = 100;objClass.x = Math.round( intWidth / 2 );objClass.y = 100;objClass.y = Math.round( intWidth / 2 );MISSING TEXTWith the recent changes into the PHP, as namespaces, the code instrumentationneed to be updated. Maybe this will take a big time because. Until then, try generate diagrams of projects what use this newfeatures probably will fail. Another option moretrustable, simple and fast it is the creation of diagrams based on theresults of the XDebug. That is the reason because the creation of diagramsbased on XDebug become one of the priority features.If you have some special case, when any of the avaliable printers and factorys<strong>The Diagram Generation With XDebug still is in working progress</strong>. You can help to acceleratesolve your problem, everthing it is extremly well<a href="http://www.thiagomata.com/codetodiagram/doc/dox/html/">doc</a>to helpto you create new classes and append new features.</p><p><strong>The Class Diagram generation still is in working progress</strong>. You can help to accelerate<p class="meta"><span class="subtopic"><a name="PHP Code to Sequence Diagram" href="codeInstrumentation.php#PHP Code to Sequence Diagram">PHP Code to Sequence Diagram</a></span><span class="topic">Code Instrumentation</span></p><div style="clear: both;"> </div><div class="entry"><p>MISSING TEXT</p><p>MISSING TEXT</p><p>If you have some special case, when any of the avaliable printers and factoryssolve your problem, everthing it is extremly well<a href="http://www.thiagomata.com/codetodiagram/doc/dox/html/">doc</a>to helpto you create new classes and append new features.</p><p><strong>The Sequence Diagram generation still is in working progress</strong>. You can help to accelerateit making a <a href="#donation">donation</a>.</p></div></div><div class="post">var objBox = new window.autoload.newCanvasBoxStateDiagram( "abc" , document.body.clientWidth / 3 , 450 );var intWidth = Math.round( document.body.clientWidth / 3 );var intHeight = Math.round( intWidth * 1.15 );var dblProportion = intWidth / 400;var objBox = new window.autoload.newCanvasBoxStateDiagram( "abc" , intWidth , intHeight );{{objFactoryFromXml.x = 70 * dblProportion;objFactoryFromXml.y = 80 * dblProportion;objFactoryFromCode.x = 330 * dblProportion;objFactoryFromCode.y = 80 * dblProportion;objDiagram.x = 200 * dblProportion;objDiagram.y = 200 * dblProportion;objPrinterHtml.x = 100 * dblProportion;objPrinterHtml.y = 350 * dblProportion;objPrinterXml.x = 200 * dblProportion;objPrinterXml.y = 400 * dblProportion;objPrinterPng.x = 300 * dblProportion;objPrinterPng.y = 350 * dblProportion;