Guides

Tracking

Tracking is a precisionFDA feature that allows you to investigate the provenance of an item. Clicking the "Track" button from any page (file, app, job, database, comparison, note) generates a provenance graph. Each node in the graph denotes an item, and each line denotes a relationship between two items. A line connects from a source item towards a derived item, and it typically means "the source item is used as an ingredient in the derived item". The system keeps track of the following relationships:

Derived itemSource items / Ingredients
AppThe app's assets.
ComparisonThe files that were used as inputs to the comparison.
DatabaseThe creator of database.
FileThe job that the file was generated from.
JobThe app that was run for the job, and the files that were used as inputs to the job.
NoteThe note's attachments.

When generating the graph, the item currently being investigated is mostly at the top and is colored by a blue background. Its source items are under it, and their source items under them, etc. Items may contain multiple lines — for example an app that has been run multiple times — but following lines will always take you from top to bottom and never lead to any endless cycles. For complex cases, such as a note with many attachments, or a file generated by running a series of consecutive jobs, the graph may get very wide or very deep. In that case, use your browser's zoom feature to see more of the graph in your browser window, or scroll your browser's viewport accordingly.

For items with outputs like Comparison and Job, the graph will display the output files, and these items will be positioned above the root node.

The precisionFDA system uses the D3 library to lay out the graph in two dimensions. The library implements a layout algorithm which tries to minimize line crossings and other avoidable overlaps, but does not always produce optimal layouts.