Executes diagram