I’m using the NetworkX module on Python 3.2.3. In a multigraph G with multiple edges between two nodes – say, ‘a’ and ‘b’ with three edges between them – typing G[‘a’].keys() into the IDLE prompt returns a dict_keys list with ‘b’ occurring only once in it. Any way to make it so that ‘b’ occurs as many times as there are edges between the two nodes?
Share
Something like