The Patchworks API

The Patchworks API provides pathways to control the behaviour of the Patchworks model and access the central data structures within the simulation. You may view the documentation for the API on the web. It would be challenging indeed to go over the entire API, but this section will review some of the key classes and methods and provide examples of code to perform common tasks.