Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-346

DotExporter only exports weights that extend Number

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            simone.tripodi Simone Tripodi
            claudio.squarcella Claudio Squarcella
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: