|
Artificial Intelligence Tools - Export GraphThe AI Tools package is an extension for Stencyl development environment. It is a general-purpose graphs toolset, which includes an implementation of A* pathfinding. Please see main page for more information. The "Export Graph" block will export the graph's data and package it into a list (array). The structure of the list is given later in this document. The intended purpose is to aid in debugging. The data can be used to draw the graph, as illustrated below. (See the Archives Page for the project file for this demo) ![]() list structureThe call will return a "list of lists". It returns a list of nodes, and each node contains some data and a list of connections. Each node contains the following data:
|