Add support for only graphing direct dependencies