aysylu/loom

Specify color and shape of the nodes

artemyarulin opened this issue · 1 comments

I've found couple of old issues (like this one #44), but maybe now it's supported? I've found and loom.io/dot-str accept bunch of parameters and actually reads additional attributes attached to the nodes, but still could not figure out how to use.

If it's not supported, what would be the right approach to implement it?

(-> (digraph [1 2])
              (add-attr 1 :color :red)
              (add-attr 1 :shape :circle))

Found it, thanks for the library!