結果 : draw diagram from python code