/looker-dependency-graph

Build a dependency graph of your Looker models, explores and views based on LookML files

Primary LanguagePython

looker-dependency-graph

Build a dependency graph of your Looker models, explores and views based on LookML files.

It builds upon lkml parser and was inspired by gazetteer.

Setup

Your LookML files

Replace the contents of input/models/ with your own .model.lkml files.

Dependencies

sudo apt-get install graphviz
poetry install
poetry shell

Run

python main.py

Outputs: example graph

Filtering the graph output

Use --filters argument to only render edges of desired nodes. Example:

python main.py --filters 'explore.user_events_cube explore.another_cube'

Outputs: example graph