Skip to main content

CLI tool to generate Arma 3 radio frequency hierarchy charts

Project description

RadioChart CLI

Generate hierarchical radio frequency charts for your Arma 3 MILSIM unit from a JSON file.


Features

  • Input a nested JSON structure representing nets, squads, and fireteams
  • Automatically generates a hierarchical chart image (PNG, SVG, PDF)
  • Color-coded squads and their fireteams for easy visualization
  • Lightweight CLI tool with no external dependencies except Graphviz
  • Ready for future extension to web app or other input formats

Installation

1. Install Graphviz

Make sure the Graphviz system binaries are installed and available on your system PATH.

  • Windows: Download and install from https://graphviz.org/download/
    Check "Add Graphviz to system PATH" during installation.

  • macOS:

    brew install graphviz
    
  • Ubuntu/Debian:

    sudo apt install graphviz
    

2. Install radiochart

pip install radiochart

Usage

radiochart --input net_structure.json --output chart.png

Example JSON Input (net_structure.json)

{
  "Company Net (CH 1)": {
    "Platoon Net (CH 2)": {
      "Alpha Squad (CH 3)": {
        "Alpha Squad Fireteam 1 (CH 31)": {},
        "Alpha Squad Fireteam 2 (CH 32)": {}
      },
      "Bravo Squad (CH 4)": {
        "Bravo Squad Fireteam 1 (CH 41)": {},
        "Bravo Squad Fireteam 2 (CH 42)": {}
      },
      "Charlie Squad (CH 5)": {
        "Charlie Squad Fireteam 1 (CH 51)": {},
        "Charlie Squad Fireteam 2 (CH 52)": {}
      },
      "Whiskey Squad (CH 6)": {
        "Whiskey Squad Fireteam 1 (CH 61)": {},
        "Whiskey Squad Fireteam 2 (CH 62)": {}
      }
    },
    "Enablers (CH 7)": {},
    "Aviation (CH 8)": {},
    "Tac Air (CH 9)": {},
    "Medevac (CH 10)": {}
  }
}

Output

This will generate a hierarchical chart image showing the nets, squads, and fireteams, with color-coded squads and their fireteams for clarity.

Troubleshooting

  • If you see errors related to dot or graphviz executable not found, make sure Graphviz is installed and added to your system PATH.
  • On Windows, restart your terminal after installing Graphviz.
  • Verify installation by running:
dot -V

Future Enhancements

  • Support for YAML or CSV input
  • Web application
  • Additional styling options

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

radiochart-0.5.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

radiochart-0.5.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file radiochart-0.5.0.tar.gz.

File metadata

  • Download URL: radiochart-0.5.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for radiochart-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d8f3e571e1c32b6f0839ea1dbaa4148a919d1b6a3f5e4faeca619ad837b13892
MD5 33c3b3a245ba071409bd41b9a73b9a82
BLAKE2b-256 ea4f0d9900c9db4b88bf1569f55fd55fe60f4b1860ac92d0e2d1d14a7fcfb3b5

See more details on using hashes here.

File details

Details for the file radiochart-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: radiochart-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for radiochart-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dba85b8b8bc983bb8d9ab815936b0cca580ff56d5e86c1b823a03f1063a07136
MD5 e3a13e5d0327f2dd19ad4cf1dae40114
BLAKE2b-256 6a5f93361ca654b8f4aa9df52b4367e53ff808a2b4ad0543d4d2177dbd29ba1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page