Grapher v0.6.0 Grapher.SetupBehaviour behaviour View Source
Defines the expected API for a Setup Module.
A Setup Module is simply a convienient way to load pre-determined contexts and queries into Grapher at application start. If you wish to use a Setup Module you need to do two things:
- Define a module which uses this Behaviour
- Add that module to your config
config :grapher, setup_module: <MySetupModule>