Hey you guys ever heard of Yarn? Apparently the team who made Night in the Woods made made their dialogue editor free to use.
The cool thing about it is that it exports to json which can then be loaded with relative ease so I spent the past day or two writing a parser for it while procrastinating for finals and connecting it with the existing chat system.
What I did was represent all the nodes in a hashmap with tags you see in the editor as keys and the objects with the text& answer data as the values. Then it just needs a starting node and they'll jump forward and even backward if needed as steered by the gui.
The editor offers custom tags for nodes as well which I've used so far to make a timer command that hides answers and just skips to the next node when the time passes. These can probably come in handy for conditional requirements as well I guess.
I thought it was kinda cool