It has been possible to generate impressive graphs from text since GPT-2. Though you need a few tricks to make it work.
Here's an example (my work): https://aclanthology.org/2021.naacl-main.67.pdf
TLDR of the input/output: https://madaan.github.io/res/tldr/graph_gen_tldr.jpg
Some work from AllenAI: https://proscript.allenai.org/