Skip to content

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

Notifications You must be signed in to change notification settings

lpillmann/looker-dependency-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks