-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plot loops as plate notations #69
Comments
Plate notation maybe available via A possible approach is to do some graph analysis and put nodes with common parents and/or children in the same class and plot the classes. |
|
Not sure I understand your point fully. But maybe one can check whether all LHS indices are loop variables (instead of the derivative of loop variables), and only plot in plate notations when this constraint is satisfied. |
This can be done, and actually align with my recent thinking. A lot of BUGS programs fits this constraint, I would love to support the plate notation for these models. |
Drawing plate with respect to nodes seems to be a hard job, I think both |
Also, a good starting point now is to define a subset of BUGS that's easy to draw. x[1] = ...
for i in 2:3
x[i] = ...
end is not allowed. The indices can only contain loop variable and constant. |
The current plotting extensions will "unroll" all loops, resulting in a rather cluttered graph. It would be good to investigate whether it is possible to plot loops as plate notations, as in the original BUGS software.
The text was updated successfully, but these errors were encountered: