react-tech-tree icon indicating copy to clipboard operation
react-tech-tree copied to clipboard

Non rounded, horizontally aligned is it possible?

Open azurda opened this issue 4 years ago • 1 comments

image

I am trying to achieve something like this with this component, is it possible? WHen adding lots of elements I end up with overlapping nodes (crossing each other) because of straight lines

azurda avatar Aug 21 '21 13:08 azurda

I think it may be possible, by overriding how links are drawn. Here's an example: https://github.com/ldd/react-tech-tree/blob/master/example/src/trees/superhero/linkHelper.js

If you have an online example, let me know. I can try to take a quick look.

Just to understand your issue a little bit better, you want the links to appear as straight lines, right?

ldd avatar Aug 21 '21 15:08 ldd