[ 
https://issues.apache.org/jira/browse/SANDBOX-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060400#comment-13060400
 ] 

Marco Speranza commented on SANDBOX-339:
----------------------------------------

Hi Simo, 
I chose the {{Properties}} type right for that: it's  very flexible.
The DOT language isn't so small (see 
[this|http://www.graphviz.org/content/attrs] ) so I think that create a POJO or 
an adapter is very painfull (think only for the semantic check for all of these 
field) and furthermore we have to upgrade the parser/adapter all the time that 
the DOT language changes.

IMHO the the user should check by youself the syntax/semantic correctness for 
each attributes and with flexible APIs, he hasn't constraints and he can mix 
any attribute values.

WDYT?

ciao 

> [Dot Export] Adding vertex attribute
> ------------------------------------
>
>                 Key: SANDBOX-339
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-339
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Graph
>            Reporter: Marco Speranza
>            Priority: Minor
>         Attachments: DotExport-AddingVertexAttribute.patch
>
>
> Hi folk, I just made a little improvement to Dot Export. I added the 
> possibility to customize the attributes of the vertices through a 
> {{Map<Vertex, Properties>}}
> Looking forward your comments.
> bye

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to