Skip to content

Commit

Permalink
fix plot with updated NodeInfo; remove tikzpicture option (#212)
Browse files Browse the repository at this point in the history
last refactor of the `compiler_passes` modified the definition of
`NodeInfo`, but plotting code is not updated.
This PR fix that. 

Also given `TikzGraphs` are less maintained, dependency on it is
removed.

I would like to spend more time on the plotting in near future, but for
now, this should be a quick fix.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
sunxd3 and github-actions[bot] authored Sep 16, 2024
1 parent 95caa51 commit c14b272
Show file tree
Hide file tree
Showing 9 changed files with 138 additions and 302 deletions.
5 changes: 1 addition & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "JuliaBUGS"
uuid = "ba9fb4c0-828e-4473-b6a1-cd2560fee5bf"
version = "0.6"
version = "0.6.1"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand Down Expand Up @@ -32,15 +32,13 @@ GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2"
GraphPlot = "a2cc645c-3eea-5389-862e-a155d0052231"
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
TikzGraphs = "b4f28e30-c73f-5eaf-a395-8a9db949a742"

[extensions]
JuliaBUGSAdvancedHMCExt = ["AdvancedHMC", "MCMCChains"]
JuliaBUGSAdvancedMHExt = ["AdvancedMH", "MCMCChains"]
JuliaBUGSGraphMakieExt = ["GraphMakie", "GLMakie"]
JuliaBUGSGraphPlotExt = ["GraphPlot"]
JuliaBUGSMCMCChainsExt = ["MCMCChains"]
JuliaBUGSTikzGraphsExt = ["TikzGraphs"]

[compat]
AbstractMCMC = "5"
Expand Down Expand Up @@ -69,7 +67,6 @@ PDMats = "0.10, 0.11"
SpecialFunctions = "2"
StaticArrays = "1.9"
Statistics = "1.9"
TikzGraphs = "1"
julia = "1.9"

[extras]
Expand Down
180 changes: 98 additions & 82 deletions docs/assets/graphplot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/makie.jpg
Binary file not shown.
Binary file added docs/assets/makie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c14b272

Please sign in to comment.