graphics - Vijual tree graphs -
I have gone through some issues in trying to use the Draw-tree function. First of all, I am unsure if I am using the correct namespace The nodes of the trees should be in accordance with n-tuples and in the case below, 3-tuples. Seen as input Dependency I I am If you are on a repl, then it should work: Use your Refers to other namespace symbols in the current namespace so that you can find them suitable You need to load the name space but you will need to reference the symbols with it: (: Required Required: Reloaded) because I have not been able to attract any tree. I have tried
(requires vijual.graphical) , but it was not recognized. It does not recognize the
draw-tree , meaning that the compiler is unable to resolve the expression symbol.
(def foo (draw-tree [[: vec (9/2 6 13/2) [[:: vec (1 2 3)] [: vec ( <3p>
{: vec (9/2 6 13/2): correct {: vec [7 9 9}} ,: Left {: right {: vec [3 4 5]},: left {: vec [1 2 3]} ,: vec (2 3 4)}}
[org.clojars.overtone / vijual "0.2.1"] .
(Def Foo (Draw-Peri ....
('vijual is required') (def / Foo (vijual / draw-tree ... P> When I did this, the function was implemented, but still there were errors. Specifically, you have
( 9/2 6 13/2) etc. - It will be an attempt to invite 9/2 as a function, I do not know at all that you (Especially with the map), but it starts something:
(def foo (draw-tree [[: vec [9] / 2] [6] [13/2]]]))
Comments
Post a Comment