er design graph in document dir