Repository navigation
diagrams
Use inline Mermaid for simple diagrams whose meaning is mainly relationships, sequence, decisions or flow. Keeping the source in the page makes it easy to review and revise with the surrounding explanation. GitHub renders Mermaid in wiki pages from fenced code blocks.
Use screenshots for evidence of the running interface, and use an image or another format for maps, detailed scientific figures, or visuals that Mermaid cannot express clearly. Do not turn interface screenshots into diagrams or replace a complex figure with a dense Mermaid block.
Choose the Mermaid diagram type that matches the relationship being explained, such as flowchart for a process or sequenceDiagram for interactions over time. Keep each diagram focused on one concept, label nodes in user-facing language, and put technical detail in the surrounding prose rather than making the diagram crowded. Add a short sentence before or after it describing what the reader should notice.
Keep the same visual language across pages. For custom-colored diagrams, use the following shared Mermaid frontmatter. Keep the palette unchanged and include only the layout section for the diagram type. It sets the shared GAMA palette for flowcharts and sequence diagrams. Do not create page-specific palettes or decorative styles. Mermaid supports this frontmatter configuration with the base theme; see Mermaid theme configuration.
---
config:
flowchart:
wrappingWidth: 220
nodeSpacing: 22
rankSpacing: 28
padding: 10
diagramPadding: 8
look: classic
fontFamily: "system-ui, sans-serif"
theme: base
themeVariables:
fontFamily: "system-ui, sans-serif"
fontSize: "14px"
primaryColor: "#dbeafe"
primaryTextColor: "#172b4d"
primaryBorderColor: "#2563a6"
lineColor: "#526780"
secondaryColor: "#dcfce7"
secondaryTextColor: "#14532d"
secondaryBorderColor: "#39805a"
tertiaryColor: "#fff1cc"
tertiaryTextColor: "#713f12"
tertiaryBorderColor: "#a66b16"
clusterBkg: "#f1f5f9"
clusterBorder: "#94a3b8"
edgeLabelBackground: "#ffffff"
actorBkg: "#dbeafe"
actorBorder: "#2563a6"
actorTextColor: "#172b4d"
actorLineColor: "#94a3b8"
signalColor: "#526780"
signalTextColor: "#172b4d"
activationBkgColor: "#dcfce7"
activationBorderColor: "#39805a"
---
flowchart LR
model["Model"] --> experiment["Experiment"]
experiment --> simulation["Simulation"]
Use the renderer's default appearance when the shared configuration is unsupported. Keep labels short and wrap long labels with <br/>. Use 14 px text, reduce spacing rather than shrinking text further, and prefer several focused diagrams to a single wide chart. Use blue for ordinary elements, green for results or concrete implementations, and amber for decisions or optional paths. Apply these roles consistently with classDef; do not add gradients, shadows or page-specific palettes. For sequence diagrams, use actorMargin: 24, width: 120, height: 40, boxMargin: 6, messageMargin: 24, mirrorActors: false and wrap: true. For class diagrams, use nodeSpacing: 24, rankSpacing: 32 and padding: 8. Use Mermaid's frontmatter configuration rather than deprecated directives when custom settings are needed.
Check new or materially changed diagrams in the target GitHub wiki renderer. Confirm that the syntax renders, labels remain legible, connections communicate the intended direction, and the diagram fits the page at normal reading width. Check light and dark appearance if both are available. If parsing fails, verify the renderer's Mermaid version and supported syntax before changing the diagram or introducing a workaround. GitHub's diagram documentation describes an info diagram for checking the Mermaid version. Leave rendering unresolved when the target renderer cannot be checked.
- Installation and Launching
- Workspace, Projects and Models
- Editing Models
- Running Experiments
- Running Headless
- Exporting models and projects
- Preferences
- gama platform agent
- Troubleshooting
- Introduction
- Manipulate basic Species
- Global Species
- Defining Advanced Species
- Defining GUI Experiment
- Classes and Objects
- Exploring Models
- Optimizing Models
- Multi-Paradigm Modeling
- Manipulate OSM Data
- Cleaning OSM Data
- Diffusion
- Using Database
- Using Dataframes
- Using FIPA ACL
- Using BDI with BEN
- Using Driving Skill
- Manipulate dates
- Manipulate lights
- Using comodel
- Save and restore Simulations
- Using network
- Writing Unit Tests
- Ensure model's reproducibility
- Going further with extensions
- Built-in Species
- Built-in Skills
- Built-in Architecture
- Statements
- Data Type
- File Type
- Stats Extension
- Sound Extension
- BDI Extension
- FIPA Skill
- Expressions
- Exhaustive list of GAMA Keywords
- Installing the development version
- Introduction to GAMA Java API
- Developing Extensions
- Using GAMA flags
- Export plugin : Technical Documentation
- Creating a release of GAMA
- Documentation generation
- Desktop startup and deferred initialization