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
20 stars 5 forks source link

unknown: If edge has unknown source create a unique unknown persons node #117

Closed Lathrisk closed 2 years ago

Lathrisk commented 2 years ago

111

This filters all of the edges and looks for ones where the source is unknown. In these cases it appends the source with the index value of the filtered array. This is then used to create a unique unknownPerson node for each unknown edge source.

It also removes the imagesPath parameter from the function calls, which is no longer used (and hasn't been for some time) until later in the index function.