integrate all diagram