Is it possible to use Python for editing material graphs?

Hi, I meet the same problem, have you solved this problem? Could you give me some advice? Thank you.