On Thu, Mar 24, 2011 at 8:50 PM, C.S. Nirmal J. Fernando (JIRA)
<dev@tuscany.apache.org> wrote:
>
>    [ 
> https://issues.apache.org/jira/browse/TUSCANY-3496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010699#comment-13010699
>  ]
>
> C.S. Nirmal J. Fernando commented on TUSCANY-3496:
> --------------------------------------------------
>
> Hi,
>
> After studying about the idea, I came up with the following design proposal.
>
> Please refer the attached proposed_design_1 image.

I'm having trouble with attaching it in JIRA, meanwhile kind enough to
attached image herewith.

Thanks.
>
> Composite XML should be generated using the Tuscany's in-memory 
> representation of the composite model.
> It will then will give as an input for the Composite Analyzer. Composite 
> Analyzer then analyzes the XML document
> and grab the relevant DOM Elements such as Composite, Component, Service, 
> Reference, Wire etc. and starts to
> build the SVG document using SVG DOM API of Apache Batik.
>
> After Composite Analyzer built up the SVG document it will be the output 
> which represents the composite diagram.
>
> DOM elements (Composite, Component, Service, Reference, Wire etc.) possibly 
> be static classes which holds the
> shape of the artifact, colour, other static properties and will be given the 
> dynamic properties (such as position, size etc.)
> as input, in order to create a DOM element and it will be then handover to 
> the Composite Analyzer.
>
> This may be very high level design, but I would appreciate if you can give me 
> some feedback.
>
> Thanks.
>
>> Develop a simple tool that can be used to generate composite diagrams from 
>> the xml files
>> ----------------------------------------------------------------------------------------
>>
>>                 Key: TUSCANY-3496
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3496
>>             Project: Tuscany
>>          Issue Type: Wish
>>          Components: Java SCA Community Ideas
>>    Affects Versions: Java-SCA-1.x
>>            Reporter: Raymond Feng
>>              Labels: gsoc, gsoc2010, gsoc2011, mentor
>>   Original Estimate: 1m
>>  Remaining Estimate: 1m
>>
>> I'm looking a simple tool (web based or command) that can generate the 
>> composite diagrams from a list of composite files. One technology we can try 
>> is the Apache Batik project.
>> http://xmlgraphics.apache.org/batik/
>> This tool can serve multiple purposes:
>> 1) Help document our tutorials and samples
>> 2) Be integrated with the SCA domain manager to visualize the SCA domain 
>> (contributions, composites, nodes etc)
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>



-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.
Blog: http://nirmalfdo.blogspot.com/

<<attachment: proposed_design_1.jpg>>

Reply via email to