Add main diagram source and export PNG files