I would like to make a directed graph out of the following:
- List of stimuli words (list of strings) that have out-edges
- List of dictionaries corresponding to each stimuli word containing: key=response-words and value, where value is frequency of response, so edges between stimuli word and response word have the frequency as their weight
Is there a way to create a graph out of this information using networkX without creating nodes separately and giving them integer values (so instead we create the node directly with the key/string rather than labelling the nodes that already have integer values)?