On Wed, Nov 12, 2008 at 2:45 PM, Simon Laws <[EMAIL PROTECTED]>wrote:
> > > On Wed, Nov 12, 2008 at 2:24 PM, Doug Tidwell <[EMAIL PROTECTED]> wrote: > >> >> Somebody with the spare time (heh) should take a look at the SCA Tools >> from the SOA Tools Project (http://www.eclipse.org/stp/sca/index.php). >> The tool has some layout problems, etc., but it does render a .composite >> file as a visual diagram. The tool uses libraries from Apache Batik to >> export the diagram as a PNG, JPEG, SVG, GIF or BMP.; right-click on the >> diagram, then choose File-->Save as Image File... and then choose your image >> format and file name. >> >> On my "List of projects I would love to hack around on if I had a paid >> sabbatical" is taking that code and creating a command-line tool to do the >> layout, build the diagram, then export it to a graphic. At one point doing >> that with an XSLT stylesheet was on the list, but it seems like the SCA >> tools have done most of the heavy lifting required. >> >> Loading the .composite files into the SCA tools and saving the diagram >> might be easier than using PaintShop or Inkscape or something like that. >> >> Cheers, >> -Doug >> >> >> From: "Simon Laws" <[EMAIL PROTECTED]> To: >> [email protected], [EMAIL PROTECTED] Date: 11/12/2008 07:01 AM >> Subject: Open Office SCA diagrams was - Re: [DISCUSS] Tuscany 2.0 themes? >> ------------------------------ >> >> >> >> >> Personally I get frustrated when I read or make Tuscany demos or >> presentations and the simple composites must be created with PaintShop or >> some non-tech tool. >> >> This may not be quite what you had in mind but a while back someone >> created an SCA diagram stencil for Visio [1], lots of people wont have Visio >> so maybe we should create a similar template for OpenOffice Draw and make >> that available on the Tuscany website so anyone can use it to create good >> looking pictures. (Disclaimer, i know little about OpenOffice Draw but >> googling it it does seem to have a stencil facility) >> >> ...ant >> >> [1] * >> http://soastation.blogspot.com/2007/10/sca-diagram-stencil-for-visio.html >> *<http://soastation.blogspot.com/2007/10/sca-diagram-stencil-for-visio.html> >> >> >> My starting point is here (* >> http://svn.apache.org/repos/asf/tuscany/sandbox/slaws/scatemplate.odg*<http://svn.apache.org/repos/asf/tuscany/sandbox/slaws/scatemplate.odg>). >> Nothing clever though, just cut and paste drawing from this point. haven't >> worked out how to make these 1st class symbols. >> >> I did work out how to add different line ends and create custom formats >> but that didn't stretch to whole symbols. Maybe someone else knows how. >> >> Simon >> >> > Yeah. good pointer Doug. I really keep meaning to give it a spin. > > Simon > A very long time ago now Rick made a prototype of a tool that created an SVG picture from SCDL - http://apache.markmail.org/message/ulsx6dqbszuq6mw4. Quite out of date now and was never developed further but it was quite cool to easily get a graphical picture of a composite. ...ant
