This project provides a tool for visualizing code trees based on a given code table and pearl type mapping. It generates a graphical representation of the tree structure as a PNG file.
Run the script using the following command:
python code_visualization.py --config <path_to_config_file><path_to_config_file>: Path to a JSON configuration file containing the code table, pearl type mapping, and output file path.
The configuration file should follow this format:
{
"pearl": {
"<pearl_id>": "<pearl_type>",
...
},
"codes": {
"<character>": "<code>",
...
},
"output": "<output_file_path>"
}This project was built as part of the parent project A1_Schmucknachrichten.