commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Squarcella (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SANDBOX-346) DotExporter only exports weights that extend Number
Date Mon, 19 Dec 2011 22:07:31 GMT

     [ 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

        

Mime
View raw message