Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 829 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 829 Bytes

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