Added utilities for printing dependency graph