How to add nodes to event graph via python or other script?

Just started looking into this myself. There are references in unreal to EdGraph and EdGraphNode, but nothing is exposed. Would love to be wrong about this.