Since that call make the graph active, it should only be used in active editing context aware code (i.e. essentially, operators).
Since that call make the graph active, it should only be used in active editing context aware code (i.e. essentially, operators).