Updated depgraph so everything flag includes third-party as its more intuitive. Also handles empty graphs now.