Animating Factor Graphs
This repo contains the code for my blog post on Visualizing Tensor Operations with Factor Graphs.
factor_graph.pycontains code which purely deals with computations and representing factor graphs using networkx.
fg_anim.pyhas a few helper functions specific to animating factor graphs.
gifs.pyhas code for each of the gifs/animations in the post.