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)))))
|
||||
|
||||
(defn edges [path]
|
||||
(let [p (map
|
||||
#(concat % [{:label "time" :fillcolor "gray" :color "gray"}])
|
||||
(let [p (map-indexed
|
||||
#(concat %2 [{:label (str (inc %1)) :fillcolor "gray" :color "gray"}])
|
||||
(edge-path path))]
|
||||
(into [] (map #(into [] %)) p)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue