added doc and reversed edges for call graph