What I ended up doing is running a Dynamo model without a graph, the force running a graph from a specific file.
This code is here: (FYI the code is provided “as-is” and “for reference only” as it was a bit of an experiment from our company to see how it could be done.)