← Back to team overview

gephi.team team mailing list archive

[Bug 530028] Re: Colors not imported in Pajek Net format

 

Pajek supports three different colors for a vertex: internal color,
border color and label color. I have added support for the internal
color in the patch. I tried adding support for label color, but it
doesn't to have any effect, also I can't find a way to set the border
color directly from the NodeDraft class.

Pajek uses Crayola colors (?!?!?!?!) instead of RGB triplets. Only
problem is that they are not standard and they change/are deleted/new
ones are added from time to time. I used the following PDF
http://vlado.fmf.uni-lj.si/pub/networks/pajek/doc/crayola.pdf from
Pajek's website to get a list of the colors they use, but some of them
are not even part of Crayola's color list anymore, so I used a
combination of Wikipedia and other websites to find matching colors.

** Attachment added: "Patch for bug 530028 and sample Pajek input file for testing"
   https://bugs.launchpad.net/gephi/+bug/530028/+attachment/1962075/+files/bug530028.zip

-- 
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.
https://bugs.launchpad.net/bugs/530028

Title:
  Colors not imported in Pajek Net format

Status in Gephi - Network exploration and manipulation:
  Confirmed
Status in Gephi 0.7 series:
  Confirmed

Bug description:
  Colors are not imported in Pajek files. See Pajek specification.



References