I am trying to construct a python call graph as below,I have a change which has internal and external dependencies and these dependencies need to be recursivley into until each leaf gets a change which is closed...i have the logic to get the internal and external dependency ,I need some inputs or a body how to construct a graph as below..
change
/ \
/ \
/ \
internal dependency external dependency
/ \ /\
/ \ / \
/ \ / \
/ \ / \
internal dep external dep internal dep external dep (repeat this until the dependency change is in closed state)