architecture.dot: remove transitive dependencies of the same type (colour)