Skip to content

Import of graphml still confuses d3 and label fields #1840

@vparunak

Description

@vparunak

Expected Behavior

Gephi should display the 'label' node attribute as the node's label.

Current Behavior

Gephi displays the 'label' attribute if there is no key 'd3', but otherwise displays attribute 'd3'.
This problem appears to be related to #1719 and #1575, both of which are reported fixed. But I'm still getting it with 0.9.2.

Possible Solution

Steps to Reproduce

  1. The attached archive contains two small graphml files. The one with filename *_ok.graphml displays fine. The one with filename *_bad.graphml does not. The actual labels differ between the two, because they are generated with a random algorithm, but structurally the only difference is whether the 'label' attribute is associated with key 'd3' or not.
    Archive.zip

Context

Your Environment

  • Version used: Gephi 0.9.2
  • Java version: 1.8
  • Operating System: Mac OSX 10.12.6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions