openownership / visualisation-tool

A visualisation library for beneficial ownership structures
https://www.openownership.org/en/publications/beneficial-ownership-visualisation-system/bods-data-visualiser/
Apache License 2.0
19 stars 4 forks source link

Adding support for 'stacks' for nationality (and other properties) #33

Open timgdavies opened 4 years ago

timgdavies commented 4 years ago

The visual language has the concept of 'stacks' to allow display of multiple properties of an entity, person or relationship.

At present, we only have overlays for nationality/jursidiction (?) (using flags), but these do not display as stacks when multiple are present.

For example, Person 1 below is both Ukranian and British nationality, but only the first of these is shown on the diagram.

image

"personType": "knownPerson",
        "names": [
            {
                "type": "individual",
                "fullName": "Person 1"
            }
        ],
        "nationalities": [
            {
                "name": "Ukrainian",
                "code": "UA"
            },
            {
                "name": "British",
                "code": "GB"
            }
        ]
kd-ods commented 4 days ago

This is somewhat related to #55. There's a choice to be made for each (relevant) property about whether its value is represented diagrammatically or by the mechanism in #55.