add directed graph notes