How to create a graph from pandas dataframes?

A post was split to a new topic: Problem creating multiple layer graphs