-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Info
- Gephi Lite version : 1.0.2
- Operating system: macos Tahoe 26.3
- Web browser: 147.0.4 (aarch64)
Steps to reproduce
- create a network graph with the viz:color attribute
- export the graph via write_gexf() in python
- import in gephi
Expected behavior:
Nodes should be colored as specified in the viz:color attribute. This works in the Gephi desktop version.
Actual behavior
All nodes are grey. viz:color attribute is ignored.
Workaround:
I noticed that when exporting from gephi lite to gexf, the viz:color attribute only has r, g, b values and not r, g, b, a.
gephi lite exports:
<viz:color r="242" g="92" b="5" />
networkx exports:
<viz:color r="242" g="92" b="5" a="1.0"/>
After deleting the alpha channel for each viz:color attribute, gephi lite correctly displays the color.
<nodes>
<node id="INTERNATIONAL FREEDOM EDUCATIONAL FOUNDATION" label="INTERNATIONAL FREEDOM EDUCATIONAL FOUNDATION">
<attvalues>
<attvalue for="0" value="0"/>
<attvalue for="1" value="thinktank"/>
<attvalue for="2" value="USA"/>
<attvalue for="3" value="north_america"/>
<attvalue for="4" value="false"/>
<attvalue for="5" value="false"/>
<attvalue for="6" value="0.0"/>
<attvalue for="7" value="0.0"/>
<attvalue for="8" value="0.0"/>
<attvalue for="9" value="0.0"/>
</attvalues>
<viz:size value="2.0"/>
<viz:position x="-224.68001" y="106.58466"/>
<viz:color r="10" g="157" b="0"/>
</node>
......
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working