Colors not imported in Pajek Net format
Bug #530028 reported by
Mathieu Bastian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gephi |
Fix Released
|
Wishlist
|
teto | ||
0.7 |
Fix Released
|
Wishlist
|
teto |
Bug Description
Colors are not imported in Pajek files. See Pajek specification.
Changed in gephi: | |
milestone: | none → 0.7alpha3 |
importance: | Low → Wishlist |
Changed in gephi: | |
assignee: | Mathieu Bastian (mathieu.bastian) → nobody |
Changed in gephi: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.