Skip to content

Accept CSV Input and convert to JSON format #1

@lando-tech

Description

@lando-tech

Description

We want to add support for CSV files as an input format for Drawmate. Instead of requiring users to manually format their JSON, this feature will allow them to provide a CSV file, which will be automatically converted to the required JSON structure while preserving the diagram layout.

Task Details:

  • Add an argument to main.py to accept CSV
  • Create a csv_to_json.py module and place it in project_dir/utils
  • Convert the CSV to the JSON format that drawmate accepts ( see the templates/ directory for examples)
  • Validate structure to ensure diagram integrity

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions