Implementation of interaction diagrams in XC