UPDATE: HISP Sri Lanka and HISP Oslo have developed a DHIS2 app to model the generic relationships between tracked entity instances.
Since this is a generic DHIS2 app, you do not need to host a separate R Shiny app, or use metadata from the Covid-19 metadata package, to visualize the relationship networks in your DHIS2 instance. Simply install the app into your DHIS2 system as described in Pamod’s post above.