graph generation and plot working again
Implement DictChain