webweb icon indicating copy to clipboard operation
webweb copied to clipboard

Suggestion for network constructor

Open nwlandry opened this issue 5 years ago • 0 comments

On the multiple networks page of the webweb documentation, the dot operator is used as the default constructor to add networks. I would suggest that using standard dictionary notation would be easier when automating the import of graphs. In addition, if you do that, there are fewer restrictions on the string that displays in the webweb visualization. (See https://github.com/NLandry91/World-Cup-Passing-Networks/blob/master/WebWebUtilities.py line 20 for the workaround I used) But there might be a better way to add networks with the existing code that I'm unaware of.

nwlandry avatar Jun 17 '19 14:06 nwlandry