Search code examples
neo4jgephi

Set Labels in Gephi from Neo4j Database


I've got a Neo4j database I imported into Gephi, but when I click "show labels", it doesn't show any text, and when I look at a node property, the label is blank.

How do I get Gephi to set the label to one of my node properties?


Solution

  • These steps should do the trick:

    1) In the Overview tab in Gephi, click the options toggle button in the lower right (the little square icon with a pointy hat)

    2) Select the Labels tab

    3) Click the Configure button to edit label text settings

    4) You can now select any imported Neo4j node/edge attributes to be displayed instead of the blank Label value.

    5) For bonus points, check out Label adjust to fix overlapping: https://gephi.org/2008/label-adjust/