結果 : create diagrams with code