Skip to main content

data_flow View

The data_flow view models information architecture, data lineage, ingestion boundaries, and data sensitivity classifications (PII, PHI, Confidential, Restricted).


Visual Projection

data_flow view visual diagramdata_flow view visual diagram

Data Flow View illustrating data object lineage, sensitivity ratings, and encrypted persistence pipelines


Purpose & Target Audience

  • Target Audience: Data Architects, Privacy Engineers, Chief Data Officers (CDO), Data Governance Stewards.
  • Primary Use Cases:
    • Mapping data lineage from ingestion touchpoints to persistent data stores.
    • Tracking the movement of Personally Identifiable Information (PII) and Protected Health Information (PHI).
    • Verifying data encryption at rest and in transit across system boundaries.
    • Complying with data residency and cross-border data transfer regulations.

Supported Entity Types

Entity TypeRole in Data FlowDescription
data_objectCore Data EntityLogical data schemas, tables, and message events.
appProducer / ConsumerSoftware applications reading, transforming, or emitting data.
systemMacro DomainEnterprise systems housing data domains.
infrastructurePersistence StoreDatabase clusters, data lakes, object stores, and caches.

Supported Relationships & Verbs

Relationship VerbSource EntityTarget EntityTypical Representation
flows_todata_object, appsystem, app, infraData pipeline / movement edge
readsapp, component, actordata_objectRead access edge
writesapp, componentdata_objectWrite / mutation edge
protectssystem, controldata_object, infraCryptographic protection edge (mechanism "Encryption")
governed_bydata_objectpolicyData privacy retention / policy link

Filtering & Layout Recommendations

  • Recommended Layout: auto_layout LeftToRight (intake to persistence flow).
  • Common Predicates:
    • include data_object where pii == true: Isolate privacy-scoped data flows.
    • include data_object where classification == "Restricted": High-security data assets.

Complete DSL Example

views {
data_flow v_customer_pii_lineage "Customer PII Lineage & Protection" {
# Select PII data objects and accessing applications
include data_object where pii == true || classification == "Restricted"
include app
include infrastructure

# Show read, write, and pipeline flow edges
include_verb flows_to both
include_verb reads both
include_verb writes both
include_verb protects both

# Ingestion-to-storage layout
auto_layout LeftToRight

# Style sensitive data objects with restricted highlight
style data_object where classification == "Restricted" {
css_class "data-restricted-red"
icon "lock"
}
}
}