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 (: 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.

The nodes of the trees should be in accordance with n-tuples and in the case below, 3-tuples. Seen as input

  (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)}}   

Dependency I I am [org.clojars.overtone / vijual "0.2.1"] .

If you are on a repl, then it should work:

  (Def Foo (Draw-Peri ....   

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:

  ('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

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -