Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Creating a new Graph"
(→New Graph) |
(→Creating a Square Lattice Graph) |
||
Line 10: | Line 10: | ||
==Creating a Square Lattice Graph == | ==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 | 1) Click on New Graph | ||
Line 36: | Line 36: | ||
+ | == Creating a Graph of Migration Edges == | ||
− | + | [[Image:Newgraph2.gif|300px|left]] | |
− | [[Image: | + |
Revision as of 14:18, 28 June 2010
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.