How to copy a graph?

I have a graph in a production instance. I want to export the graph and import the graph into a developer instance. The only issue is that the developer instance has a graph with the same name. Is there a way to change the name of the graph on import? Could I do a search and replace on the exported files if there is not a way to change the graph name on import?

@dboney123 If you run the export command in GraphStudio you can open up the zip files and then use your code editor tool to find all instances where you need to change the graph name. Usually, it’s in CREATE GRAPH, CREATE QUERY, RUN LOADING JOB, SCHEMA CHANGE JOB, CREATE LOADING JOB.

After you finish then zip the files and re-import the solution.

Example:

1 Like