title: How to draw shapes in a graph using nodes and edges in python?
body: <p>I need to draw the shapes from the following photo in a graph. I need to transpose the shapes in a graph in Python with nodes and edges. <a href="https://i.stack.imgur.com/7HHJM.png" rel="nofollow noreferrer">img1</a></p>
  <p><a href="https://i.stack.imgur.com/pLFdP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pLFdP.png" alt="img2" /></a></p>