Skip to content

Commit 2bfd05a

Browse files
committed
chore: update logging, sample
1 parent 671d79e commit 2bfd05a

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

sample/kvm_control_flow_plan.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export:
2121
exporter: "CSVNodes"
2222
- filename: "out/kvm-control-flow-edges-full.csv"
2323
exporter: "CSVEdges"
24-
- filename: "out/kvm-control-flow-custom.dot"
25-
exporter: !Custom
26-
template: "sample/kvm_control_flow/custom.hbs"
27-
# partials:
28-
# key: "sample/kvm_control_flow/partial_a.hbs"
24+
# - filename: "out/kvm-control-flow-custom.dot"
25+
# exporter: !Custom
26+
# template: "sample/kvm_control_flow/custom.hbs"
27+
# # partials:
28+
# # key: "sample/kvm_control_flow/partial_a.hbs"

src/plan_execution.rs

+7
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ pub fn execute_plan(plan: String) -> Result<()> {
9797
// TODO verify that all nodes in edges are present in nodes
9898
// TODO verify graph integrity
9999

100+
info!(
101+
"Graph loaded with {} nodes, {} edges and {} layers",
102+
graph.nodes.len(),
103+
graph.edges.len(),
104+
graph.layers.len()
105+
);
106+
100107
plan.export.profiles.iter().for_each(|profile| {
101108
info!(
102109
"Exporting file: {} using exporter {:?}",

0 commit comments

Comments
 (0)