[
https://issues.apache.org/jira/browse/SANDBOX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi resolved SANDBOX-346.
------------------------------------
Resolution: Fixed
Assignee: Simone Tripodi
patch applied, see
[r1221138|https://svn.apache.org/viewvc?view=revision&revision=1221138]
> DotExporter only exports weights that extend Number
> ---------------------------------------------------
>
> Key: SANDBOX-346
> URL: https://issues.apache.org/jira/browse/SANDBOX-346
> Project: Commons Sandbox
> Issue Type: Improvement
> Components: Graph
> Reporter: Claudio Squarcella
> Assignee: Simone Tripodi
> Priority: Minor
> Labels: dot, dotexporter, double, graph, weight
> Attachments: DotExporterOnlyExportsWeightsExtendingNumber.patch
>
>
> Hi,
> I propose a tiny patch for the DotExporter in order to print "weight" as an
> edge attribute only when the actual weight extends Number, using the method
> getDouble().
> This is to be fully compliant with the DOT language specification on the
> attribute "weight" (see http://www.graphviz.org/content/attrs#aweight).
> Hope this helps,
> Claudio
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira