added hack to get rid of incorrect package names
added coloured edges and nodes