cscherrer / Soss.jl

Probabilistic programming via source rewriting
https://cscherrer.github.io/Soss.jl/stable/
MIT License
412 stars 30 forks source link

Output .dot format for graphviz #266

Open cscherrer opened 3 years ago

cscherrer commented 3 years ago

Like this: graphviz

devmotion commented 3 years ago

Reminds me of https://github.com/TuringLang/IRTracker.jl/blob/master/src/graphviz.jl.

cscherrer commented 3 years ago

Ooh nice, and it can do clusters! Maybe this spin out to a general-purpose library?

cscherrer commented 3 years ago

cc @phipsgabler

phipsgabler commented 3 years ago

Oh, that's really 90% copied from Catlab and adapted to my requirements back then. It was the only interface I had found at this level of granularity. The better idea would be to ask the Catlab people for spinning out stuff, since they do a much better job of maintainance.