Fork me on GitHub
#reagent
<
2020-11-29
>
Carlo01:11:22

Here's a component in which I tried to wrap cytoscape's imperative interface. Note the line (.add cyto sorted). I'm getting the error ;; => #object[TypeError TypeError: cyto.add is not a function]. What should I change?

p-himik03:11:44

cyto is an atom. Use (.add @cyto sorted).

🙌 3
Carlo11:11:15

thank you for your help @U2FRKM4TW!

👍 3