Beautify dependency graph and add page titles