[
https://issues.apache.org/jira/browse/SANDBOX-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060446#comment-13060446
]
Simone Tripodi commented on SANDBOX-339:
----------------------------------------
{{Properties}} is *too much* flexible, that's true that allows DOT exporter be
adaptive to further DOT versions, but at the same time the {{DotExport}} loses
all its power when producing corrupted outputs.
If the user has to check by *it*self the syntax/semantic correctness of each
attribute... why use the {{commons-graph}} dot exporter? In that way users are
forced to learn the language, while the purpose should be producing
transparently the {{*.dot}} files and open with a rendered provided by a 3rd
party. Otherwise, just a little more spicy and the user can write its smarter
version :)
I'd prefer producing automatically a working subset of the DOT language rather
than be so flexible to produce potentially corrupted outputs.
A different strategy is needed, let's think about it
> [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