Open l15k4 opened 10 years ago
Hey,
would you please explain to me one thing? If I look at Haoyi's Roll facade : https://github.com/lihaoyi/roll/blob/master/src/main/scala/roll/cp/Facades.scala
There all case classes names match the chipmunk's objects. But if I look at the facade you did: https://github.com/nebuta/ScalaJS-D3-Example/blob/master/src/main/scala/D3/d3.scala
there are so many traits with name that doesn't have a corresponding javascript d3 object. I can't figure out how it works :-)
For instance how does TreeMapLayout map to d3.layout.treemap ? or ForceLayout to d3.layout.force?
Thank you for doing this, really appreciate it. Jakub
Got it, it's just not mapped to JS yet, there are just a few things mapped, just the vars
vars
Hey,
would you please explain to me one thing? If I look at Haoyi's Roll facade : https://github.com/lihaoyi/roll/blob/master/src/main/scala/roll/cp/Facades.scala
There all case classes names match the chipmunk's objects. But if I look at the facade you did: https://github.com/nebuta/ScalaJS-D3-Example/blob/master/src/main/scala/D3/d3.scala
there are so many traits with name that doesn't have a corresponding javascript d3 object. I can't figure out how it works :-)
For instance how does TreeMapLayout map to d3.layout.treemap ? or ForceLayout to d3.layout.force?
Thank you for doing this, really appreciate it. Jakub