Adding component diagram