reftree
reftree copied to clipboard
Automatically generated diagrams and animations for Scala data structures
Currently this project is only published for Scala 2.11. I would love to use it for generating some documentation in Scala 2.12.
For SVG output, the dot language supports specifying a URL link for a node. See: https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:URL Since the node label is a table, the tooltip shows "" if there is...
I have the following image generated:  This is the code I am using: ```scala implicit def `ArrayDeque RefTree`: ToRefTree[mutable.ArrayDeque[Char]] = ToRefTree {ds => val array = ds.privateField[Array[AnyRef]]("array").map(c => Option(c).getOrElse('␀').asInstanceOf[Char])...
``` Char nullSymbol = '␀' ```
Exception building diagram (on scala 2.12.5) ``` [info] Compiling 1 Scala source to /home/wsargent/work/scala-capabilities/images/target/scala-2.12/classes ... [error] /home/wsargent/work/scala-capabilities/images/src/main/scala/Main.scala:90:44: Internal error: unable to find the outer accessor symbol of class anon$Generic Coproduct...
In https://stanch.github.io/reftree/#minimal-example the example uses `ImagePath` but does not define it. It would be easier if a URL was provided: ```scala import java.nio.file.Paths import reftree.diagram.Diagram import reftree.render.{Renderer, RenderingOptions} object Main...
Running ` reftree.demo.All` reproduces this issue on windows 10. Still pictures are generated nicely:  but animations get a wierd A-hat symbol next to the black circles: 
Can we have an implicit for drawing a vertical sequential list? Something like: ``` abcd | efgh | ijkl | end ``` I was using something like this, but it...
Hey there! Is there any chance to publish this library for Scala 2.13? Or maybe if there is a PR from the community, would it be possible to merge it...