Graph.add_edges() and Graph.add_vertices() should have a keyword argument to define attributes

Bug #295180 reported by Tamás Nepusz
2
Affects Status Importance Assigned to Milestone
igraph
Confirmed
Undecided
Unassigned

Bug Description

E.g.:

g = Graph()
g.add_vertices(2, {"label": ["A", "B"], "color": ["red", "blue"]})

Tags: python
Tamás Nepusz (ntamas)
Changed in igraph:
status: New → Confirmed
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/372

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.