# bunsenfeng/twibot-20 architecture

> Architecture diagram of the GitHub repository bunsenfeng/twibot-20, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bunsenfeng/twibot-20
- Repository: https://github.com/bunsenfeng/twibot-20

## Overview

TwiBot-20 is a research dataset, not an application with an executable workflow. Its sample provides user records with profile, tweet, neighborhood, and domain data; the README also describes bot labels and the full dataset’s train, validation, test, and support partitions. The tree contains only the sample JSON, so no separate runtime, partition, or download components can be mapped.

Main entry points: [`TwiBot-20_sample.json`](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json) (User record), [`README.md`](https://github.com/bunsenfeng/twibot-20/blob/main/README.md) (Bot label)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dataset["Dataset"]
  node_sample[("TwiBot-20 sample")]
  node_user["User record"]
  node_profile["Profile data"]
  node_tweets["Recent tweets"]
  node_neighbors["Neighbor links"]
  node_domain["Domain category"]
  node_label["Bot label<br/>[README.md]"]
end

node_sample -->|"contains"| node_user
node_user -->|"has profile"| node_profile
node_user -->|"has tweets"| node_tweets
node_user -->|"has neighbors"| node_neighbors
node_user -->|"has domain"| node_domain
node_user -->|"has label"| node_label
node_neighbors -->|"follow links"| node_user

click node_sample "https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json"
click node_user "https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json"
click node_profile "https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json"
click node_tweets "https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json"
click node_neighbors "https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json"
click node_domain "https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json"
click node_label "https://github.com/bunsenfeng/twibot-20/blob/main/README.md"

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_sample,node_user,node_profile,node_tweets,node_neighbors,node_domain,node_label toneBlue
```

## Components

### Dataset

- [TwiBot-20 sample](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json): `TwiBot-20_sample.json`
- [User record](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json): `TwiBot-20_sample.json`
- [Profile data](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json): `TwiBot-20_sample.json`
- [Recent tweets](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json): `TwiBot-20_sample.json`
- [Neighbor links](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json): `TwiBot-20_sample.json`
- [Domain category](https://github.com/bunsenfeng/twibot-20/blob/main/TwiBot-20_sample.json): `TwiBot-20_sample.json`
- [Bot label](https://github.com/bunsenfeng/twibot-20/blob/main/README.md): `README.md`

## Connections

- TwiBot-20 sample → User record: contains (evidence: `README.md`)
- User record → Profile data: has profile (evidence: `README.md`)
- User record → Recent tweets: has tweets (evidence: `README.md`)
- User record → Neighbor links: has neighbors (evidence: `README.md`)
- User record → Domain category: has domain (evidence: `README.md`)
- User record → Bot label: has label (evidence: `README.md`)
- Neighbor links → User record: follow links (evidence: `README.md`)
