# links-lang/links-examples architecture

> Architecture diagram of the GitHub repository links-lang/links-examples, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/links-lang/links-examples
- Repository: https://github.com/links-lang/links-examples

## Overview

This repository is a collection of larger Links applications, not one integrated product. The tree identifies an Agar.io-style app, a bootstrap/onboarding app, two scheduling variants, and a survey builder. Their filenames indicate distinct capabilities, but the Links source was not sampled and the README gives no execution or call-flow details; therefore the graph records the applications and named domain areas without asserting wiring between them.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agario["Agar.io app"]
  node_game["Game app<br/>[agario.links]"]
  node_game_logic["Game logic<br/>[logic.links]"]
  node_game_main["Main app<br/>[main.links]"]
  node_game_server["App server"]
  node_game_render["Rendering<br/>[render.links]"]
  node_game_util["Utilities<br/>[util.links]"]
end

subgraph group_bootstrap["Bootstrap portal"]
  node_portal_start["Start page<br/>[start.links]"]
  node_portal_welcome["Welcome<br/>[welcome.links]"]
  node_portal_common["Shared portal<br/>[common.links]"]
  node_departments["Department members"]
  node_products["Products<br/>[products.links]"]
  node_assistants["Scheduling assistants"]
end

subgraph group_scheduler["Scheduling"]
  node_schedule_app["Schedule app<br/>[schedule.links]"]
  node_schedule_db[("Schedule data<br/>[schedule.sql]")]
  node_ajax_schedule["Ajax schedule<br/>[schedule.links]"]
  node_ajax_server["Web server"]
  node_ajax_db[("Ajax schedule data<br/>[scheduler.sql]")]
end

subgraph group_survey["Survey builder"]
  node_survey_app["Survey app"]
  node_survey_prelude["Survey setup<br/>[prelude.links]"]
  node_survey_generate["Survey generation"]
  node_survey_edit["Survey editing<br/>[survey-edit.links]"]
  node_survey_fill["Survey response"]
  node_survey_respondents["Respondent management"]
  node_survey_results["Survey results"]
  node_survey_destroyer["Survey deletion"]
  node_respondent_destroyer["Response deletion"]
  node_survey_db[("Survey data<br/>[surveybuilder.sql]")]
end

node_player(("Player"))
node_schedule_user(("Scheduler user"))
node_respondent(("Respondent"))

click node_game "https://github.com/links-lang/links-examples/blob/master/agario/agario.links"
click node_game_logic "https://github.com/links-lang/links-examples/blob/master/agario-modules/logic.links"
click node_game_main "https://github.com/links-lang/links-examples/blob/master/agario-modules/main.links"
click node_game_server "https://github.com/links-lang/links-examples/blob/master/agario-modules/mainAppServer.links"
click node_game_render "https://github.com/links-lang/links-examples/blob/master/agario-modules/render.links"
click node_game_util "https://github.com/links-lang/links-examples/blob/master/agario-modules/util.links"
click node_portal_start "https://github.com/links-lang/links-examples/blob/master/bootstrap/start.links"
click node_portal_welcome "https://github.com/links-lang/links-examples/blob/master/bootstrap/welcome.links"
click node_portal_common "https://github.com/links-lang/links-examples/blob/master/bootstrap/common.links"
click node_departments "https://github.com/links-lang/links-examples/blob/master/bootstrap/departmentMembers.links"
click node_products "https://github.com/links-lang/links-examples/blob/master/bootstrap/products.links"
click node_assistants "https://github.com/links-lang/links-examples/blob/master/bootstrap/schedulingAssistants.links"
click node_schedule_app "https://github.com/links-lang/links-examples/blob/master/scheduler/schedule.links"
click node_schedule_db "https://github.com/links-lang/links-examples/blob/master/scheduler/schedule.sql"
click node_ajax_schedule "https://github.com/links-lang/links-examples/blob/master/scheduler_ajax/schedule.links"
click node_ajax_server "https://github.com/links-lang/links-examples/blob/master/scheduler_ajax/schedule_webserver.links"
click node_ajax_db "https://github.com/links-lang/links-examples/blob/master/scheduler_ajax/scheduler.sql"
click node_survey_app "https://github.com/links-lang/links-examples/blob/master/surveybuilder/surveybuilder.links"
click node_survey_prelude "https://github.com/links-lang/links-examples/blob/master/surveybuilder/prelude.links"
click node_survey_generate "https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-generator.links"
click node_survey_edit "https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-edit.links"
click node_survey_fill "https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-filler.links"
click node_survey_respondents "https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-respondents.links"
click node_survey_results "https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-results.links"
click node_survey_destroyer "https://github.com/links-lang/links-examples/blob/master/surveybuilder/surveydestroyer.links"
click node_respondent_destroyer "https://github.com/links-lang/links-examples/blob/master/surveybuilder/respondentdestroyer.links"
click node_survey_db "https://github.com/links-lang/links-examples/blob/master/surveybuilder/surveybuilder.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_game,node_game_logic,node_game_main,node_game_server,node_game_render,node_game_util toneBlue
class node_portal_start,node_portal_welcome,node_portal_common,node_departments,node_products,node_assistants toneAmber
class node_schedule_app,node_schedule_db,node_ajax_schedule,node_ajax_server,node_ajax_db toneMint
class node_survey_app,node_survey_prelude,node_survey_generate,node_survey_edit,node_survey_fill,node_survey_respondents,node_survey_results,node_survey_destroyer,node_respondent_destroyer,node_survey_db,node_schedule_user toneRose
class node_player,node_respondent toneIndigo
```

## Components

### Agar.io app

- [Game app](https://github.com/links-lang/links-examples/blob/master/agario/agario.links): `agario/agario.links`
- [Game logic](https://github.com/links-lang/links-examples/blob/master/agario-modules/logic.links): `agario-modules/logic.links`
- [Main app](https://github.com/links-lang/links-examples/blob/master/agario-modules/main.links): `agario-modules/main.links`
- [App server](https://github.com/links-lang/links-examples/blob/master/agario-modules/mainAppServer.links): `agario-modules/mainAppServer.links`
- [Rendering](https://github.com/links-lang/links-examples/blob/master/agario-modules/render.links): `agario-modules/render.links`
- [Utilities](https://github.com/links-lang/links-examples/blob/master/agario-modules/util.links): `agario-modules/util.links`

### Bootstrap portal

- [Start page](https://github.com/links-lang/links-examples/blob/master/bootstrap/start.links): `bootstrap/start.links`
- [Welcome](https://github.com/links-lang/links-examples/blob/master/bootstrap/welcome.links): `bootstrap/welcome.links`
- [Shared portal](https://github.com/links-lang/links-examples/blob/master/bootstrap/common.links): `bootstrap/common.links`
- [Department members](https://github.com/links-lang/links-examples/blob/master/bootstrap/departmentMembers.links): `bootstrap/departmentMembers.links`
- [Products](https://github.com/links-lang/links-examples/blob/master/bootstrap/products.links): `bootstrap/products.links`
- [Scheduling assistants](https://github.com/links-lang/links-examples/blob/master/bootstrap/schedulingAssistants.links): `bootstrap/schedulingAssistants.links`

### Scheduling

- [Schedule app](https://github.com/links-lang/links-examples/blob/master/scheduler/schedule.links): `scheduler/schedule.links`
- [Schedule data](https://github.com/links-lang/links-examples/blob/master/scheduler/schedule.sql): `scheduler/schedule.sql`
- [Ajax schedule](https://github.com/links-lang/links-examples/blob/master/scheduler_ajax/schedule.links): `scheduler_ajax/schedule.links`
- [Web server](https://github.com/links-lang/links-examples/blob/master/scheduler_ajax/schedule_webserver.links): `scheduler_ajax/schedule_webserver.links`
- [Ajax schedule data](https://github.com/links-lang/links-examples/blob/master/scheduler_ajax/scheduler.sql): `scheduler_ajax/scheduler.sql`

### Survey builder

- [Survey app](https://github.com/links-lang/links-examples/blob/master/surveybuilder/surveybuilder.links): `surveybuilder/surveybuilder.links`
- [Survey setup](https://github.com/links-lang/links-examples/blob/master/surveybuilder/prelude.links): `surveybuilder/prelude.links`
- [Survey generation](https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-generator.links): `surveybuilder/survey-generator.links`
- [Survey editing](https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-edit.links): `surveybuilder/survey-edit.links`
- [Survey response](https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-filler.links): `surveybuilder/survey-filler.links`
- [Respondent management](https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-respondents.links): `surveybuilder/survey-respondents.links`
- [Survey results](https://github.com/links-lang/links-examples/blob/master/surveybuilder/survey-results.links): `surveybuilder/survey-results.links`
- [Survey deletion](https://github.com/links-lang/links-examples/blob/master/surveybuilder/surveydestroyer.links): `surveybuilder/surveydestroyer.links`
- [Response deletion](https://github.com/links-lang/links-examples/blob/master/surveybuilder/respondentdestroyer.links): `surveybuilder/respondentdestroyer.links`
- [Survey data](https://github.com/links-lang/links-examples/blob/master/surveybuilder/surveybuilder.sql): `surveybuilder/surveybuilder.sql`

### Other components

- **Player**
- **Scheduler user**
- **Respondent**
