wrote graph.py for generating dot graphs from notebook metadata