[
https://issues.apache.org/jira/browse/SANDBOX-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060459#comment-13060459
]
Marco Speranza commented on SANDBOX-339:
----------------------------------------
Simo, I'm not totaly agree with you, common-graph implements the export logic,
the user has only the flexibility to customize the attribute of the vertices,
with a key-value map for each vertices.
Furthermore the user has to know these values even if we create an adapter. He
has to learn the possible keys-attribute and their acceptable values in any
cases.
Anyway thinking more we can try to do this:
* create a simple CSV file that contains all possible values, with type and
minimum acceptable value for each keys. (we can export this directly by [this
site|http://www.graphviz.org/content/attrs] )
* we can create an adaper that checks the values any time that the user adds a
new value for a vertex.
* so we have to upgrade only the this CSV file in order to upgrade the
acceptable values
WDYT?
have a nice day Simo
;)
> [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