Skip to content

Commit

Permalink
exec: improve rendering of cfgs
Browse files Browse the repository at this point in the history
- colors per branch id
- active mask for branch edges
  • Loading branch information
romnn committed Feb 13, 2024
1 parent 6e6890f commit 41b4443
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 77 deletions.
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion exec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[features]
default = ["render"]
render = ["dep:layout-rs"]
render = ["dep:layout-rs", "dep:colorsys", "dep:rand", "dep:rand_chacha"]

[dependencies]
color-eyre = "0"
Expand All @@ -32,6 +32,9 @@ exec-derive = { path = "./derive" }

# optional: render control flow graphs
layout-rs = { version = "0.1", optional = true }
colorsys = { version = "0", optional = true }
rand = { version = "0", optional = true }
rand_chacha = { version = "0", optional = true }

# todo: remove in the future
log = "0"
Expand Down
Loading

0 comments on commit 41b4443

Please sign in to comment.