Configuration and add diagram