Learn how to use NodeCanvas

JSON Import/Export

All graphs in NodeCanvas can be exported to or imported from a JSON file. This proves usefull for sharing graphs, designs or patterns with others in a simple format. Importing and Exporting to/from a JSON file can be done either in the Graph Inspector, or from within the NodeCanvas editor under the “File” menu.

So for example the following behaviour tree…


…can be exported or imported to/from the following JSON file. (In practice, default values are not serialized, but this is an example)

Yes No Suggest edit
6 of 6 users found this section helpful
Suggest Edit