With this code:
from graphviz import Graph, Digraph
g = Digraph('G', filename='process.gv', engine='dot')
g.node('Tests')
g.node('Devices')
g.edge('TestName', 'Tests')
g.edge('Serial', 'Devices')
g.view()
I can create the following output:

But I need the "Serial" field under the "Tests" field. How to do it?
source
share