new ProvenanceChartAdapter()
Convert package history into plain chart records that cannot change the
RDF graph.
- Since:
- Source:
Methods
build(dataPackage) → {object}
Build chart records showing which data came from other data and which
programs produced or consumed it.
Parameters:
| Name |
Type |
Description |
dataPackage |
DataPackage
|
Package with a parsed ResourceMap model |
- Source:
Returns:
Chart records and relationship lookup helpers
-
Type
-
object
Example
const chart = ProvenanceChartAdapter.build(dataPackage);
chart.getSources("data.1");