Add component diagram