├── .github └── workflows │ └── diagram.yml ├── README.md ├── data ├── A.csv ├── B.csv └── C.csv ├── diagram.svg └── ignore ├── A.csv ├── B.csv └── C.csv /.github/workflows/diagram.yml: -------------------------------------------------------------------------------- 1 | name: Create diagram 2 | on: 3 | workflow_dispatch: {} 4 | push: 5 | branches: 6 | - main 7 | jobs: 8 | get_data: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - name: Checkout code 12 | uses: actions/checkout@master 13 | - name: Update diagram 14 | uses: githubocto/repo-visualizer@main 15 | with: 16 | excluded_paths: "ignore,.github" 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # repo-visualizer Demo 2 | 3 | This is an example of using the [repo-visualizer](https://github.com/githubocto/repo-visualizer) GitHub Action. 4 | 5 | We've included the generated diagram by adding it to the README: 6 | 7 | ![Visualization of this repo](./diagram.svg) 8 | 9 | You can check out the whole GitHub Action at [diagram.yml](/.github/workflows/diagram.yml). Notice that we're excluding the `ignore` and `.github` folders, using the `excluded_paths` config. 10 | -------------------------------------------------------------------------------- /data/A.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 -------------------------------------------------------------------------------- /data/B.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 -------------------------------------------------------------------------------- /data/C.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 -------------------------------------------------------------------------------- /diagram.svg: -------------------------------------------------------------------------------- 1 | C.csvC.csvC.csvB.csvB.csvB.csvA.csvA.csvA.csvREADME.mdREADME.mdREADME.mddiagram.svgdiagram.svgdiagram.svgdatadata.csv.md.svg
each dot sized by file size
-------------------------------------------------------------------------------- /ignore/A.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 -------------------------------------------------------------------------------- /ignore/B.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 -------------------------------------------------------------------------------- /ignore/C.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 --------------------------------------------------------------------------------