daft-dev / daft-dev/daft

Code future

Open
#169 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
687
Forks
121
PR merge metrics
No merged PRs in 30d

Description

numpyro and some others can auto-render their PGM, not relying on daft. They build a graphviz Graph and render that to matplotlib.

I was thinking that daft could keep its UI, but internally build a NetworkX graph (which can convert to a graphviz object). Daft could then support many different rendering options -- matplotlib, plotly, Vega, etc — by plugin (`entrypoint` modules), just by rendering the NetworkX graph. Also the NetworkX graph is a useful object in itself, with nice serialization options and customization, etc.

Perhaps numpyro could then make daft a dependency, esp if it supports a number of rendering options.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.