Skip to content

netwulf visualize ignores edge colors #45

@dbau-igenomix

Description

@dbau-igenomix

Hi,

When I create a graph from pandas as:
G = nx.from_pandas_edgelist(df, "node1", "node2", edge_attr=['weight', 'color'])

Properties are correctly set, e.g.:
('node1', 'node2', {'weight': 0.01, 'color': 'red'})

However, when running:
network, config = visualize(G, port=port)

the weight attribute is correctly visualized, but the color one is not (all edges are grey).

How can I get around this issue?

Thanks,
Davide

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions