add diagram compiler