Visually/graphically representing Graph data structure

Viewed 43

Suppose I have a graph -

graph = { "a" : ["c"],
          "b" : ["c", "e"],
          "c" : ["a", "b", "d", "e"],
          "d" : ["c"],
          "e" : ["c", "b"],
          "f" : []
        }

How can I create a visual graph as an output like the one shown below enter image description here

1 Answers
Related