dpi-climate / utk-ejust

A Grammar-based Framework for Urban Visual Analytics
http://urbantk.org
MIT License
3 stars 1 forks source link

Simplify master JSON #3

Closed GMMULLER closed 8 months ago

GMMULLER commented 8 months ago

The master JSON should look like this:

{
    "variables": [
        {
            "name": "timestep",
            "value": "1"
        }
    ],
    "components": [
        {
            "id": "json_map",
            "position": {
                "width": [
                    1,
                    12
                ],
                "height": [
                    1,
                    4
                ]
            }
        }
    ],
    "grid": {
        "width": 12,
        "height": 4
    },
    "grammar_position": {
        "width": [
            1,
            5
        ],
        "height": [
            2,
            4
        ]
    }
}

Remember to modify the JSON schema, interface.ts, and grammar.md (documentation).

GMMULLER commented 8 months ago