Creating a new Graph
The world wide administrative data built into STEM is represented as a graph. It is also possible for users to create their own custom graphs using the new graph wizard. The New Graph wizard supports user creation of custom lattices based on a set of "Graph Generators". A graph generator is a pluggable component able to generate a graph (a collection of nodes and edges) either algorithmically or from an external file. Currently, we have implemented an abstract Lattice Graph Generator with a Square Lattice Implementation. A user can specify the size of the lattice as well as several options for how the nearest neighbor (Common Border) are organized. In the future we plan to also support creating a New Graph From File.A graph generator can also be used to create a collection of edges (or other graph components) that an be optionally added to another graph. To use this feature, begin by launching the new graph wizard.
Button to launch the New Graph Wizard
Creating a Square Lattice Graph
This wizard makes it possible to study the propagation of a disease model on (for example) a simple lattice instead of the more complex geographical administrative divisions.
1) Click on New Graph
2) Name your project
3) Click on TestSquareLattice
4) Specify the size of the lattice
5) Select from the options available how you want the nearest neighbor mixing edges to be organized
6) Click "Finished"
save your work at this point by hitting <ctrl>S
In the future we plan to also support creating a New Graph From File.