Anatomy of a GeneratorΒΆ
TODO: Explain detailed information about the ALG class
AyarLayoutGenerator
provides helper methods to place and manipulate shapes and hierarchically place other instances and run other generators. Consider it to be your palette of functions you can use to describe your layout procedure.get_params_info()
should be defined to set which parameters your generator expects.AyarLayoutGenerator
defines an abstractmethoddraw_layout()
which contains the layout drawing algorithm in terms of your desired parameters.
Show pictures of how a few of the key functions work