import {{className}} from './Model' import { ControlVariableConfig } from 'agentscape/io' const documentRoot = document.getElementById('root') as HTMLDivElement const parameters: ControlVariableConfig[] = [ { label: 'Grid Size', name: 'gridSize', default: 20, }, { label: 'Agent Count', name: 'agentCount', default: 10, }, { label: 'Random Seed', name: 'randomSeed', default: 0, }, ] const model = new {{className}}({ documentRoot, renderWidth: 600, title: '{{title}}', id: '{{name}}', parameters, autoPlay: false, }) model.start()