You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Claudio Squarcella (Created) (JIRA)" <ji...@apache.org> on 2011/12/19 23:07:31 UTC
[jira] [Created] (SANDBOX-346) DotExporter only exports weights
that extend Number
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
Priority: Minor
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
[jira] [Resolved] (SANDBOX-346) DotExporter only exports weights
that extend Number
Posted by "Simone Tripodi (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (SANDBOX-346) DotExporter only exports weights
that extend Number
Posted by "Simone Tripodi (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SANDBOX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173032#comment-13173032 ]
Simone Tripodi commented on SANDBOX-346:
----------------------------------------
having the Dot exporter conform to Dot specification is on top of requirements :)
your patch has been applied, thanks for contributing!
> 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
> 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
[jira] [Updated] (SANDBOX-346) DotExporter only exports weights
that extend Number
Posted by "Claudio Squarcella (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SANDBOX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claudio Squarcella updated SANDBOX-346:
---------------------------------------
Attachment: DotExporterOnlyExportsWeightsExtendingNumber.patch
patch for DotExporter
> 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
> 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