Closed nutterb closed 7 years ago
This may be difficult to implement within the package, as I'm uncertain whether or not there is an API for R, but I have used this package for drawing really nice temporal Bayesian networks.
https://github.com/jluttine/tikz-bayesnet
Here's an example of what that kind of software produces:
There, you have the ability of making explicit the location of the plotted nodes. Standard algorithms in GraphViz end up putting nodes in locations that optimize some criterion, not necessarily in time order.
All this said, I do however think you have the ability to explicitly place nodes in specific locations using DiagrammeR/GraphViz. If this is the case, then we might just line up the temporal nodes in as many vertical columns as necessary to cover all the dependencies. Something like the below diagram (which was made with PowerPoint, but you get the idea):
I won't open a new issue for this each time. I'll just keep adding checkboxes to make sure I do things in the right order (and write the appropriate documentation and tests before I move on to the next task)
model_form_to_node_form
model_form_to_node_form
dbn.formula
dbn.formula
dbn.list
dbn.list
dbn
dbn