Add the stages to the edges
This commit is contained in:
parent
6fc0451dfe
commit
c2c9fdb4d3
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@
|
||||||
(partition 2 (interleave cleaned-chain (rest cleaned-chain)))))
|
(partition 2 (interleave cleaned-chain (rest cleaned-chain)))))
|
||||||
|
|
||||||
(defn edges [path]
|
(defn edges [path]
|
||||||
(let [p (map
|
(let [p (map-indexed
|
||||||
#(concat % [{:label "time" :fillcolor "gray" :color "gray"}])
|
#(concat %2 [{:label (str (inc %1)) :fillcolor "gray" :color "gray"}])
|
||||||
(edge-path path))]
|
(edge-path path))]
|
||||||
(into [] (map #(into [] %)) p)))
|
(into [] (map #(into [] %)) p)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue