-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display my own nodes style without circles #77
Comments
Hi @tzookb, Apologies for the wait. Removing the node element isn't actually possible right now, but I'll work on this later tonight or tomorrow since it should be possible to just pass That should then let you do what you suggested, although you'll most likely have to fiddle with the positioning/sizing of your boxes to make them align nicely with the graph. |
Just released v1.9.1 with an option to set This should hopefully allow you to achieve what you were asking about :) |
Awesome work @bkrem but I decided to build my own tree as I noticed I need to connect the lines to centers of the node etc 👍 |
Hello @tzookb @bkrem Any way we can have user interaction within foreignObjects? (Ex. clicking buttons inside nodes)
|
Hey @dyennam, Here's a relatively simple way you can achieve what I think you're looking for with foreignObjects by leveraging the https://codesandbox.io/s/zrw16nnxox Note that I also moved the text you hardcoded in the card into each child's cc @tzookb, might be interesting for you too |
@bkrem Thanks for the example, helped me out a bunch. |
@dyennam did you manage to figure this out? |
Closing since the discussion here has drifted from the issue topic onto other feature proposals. Feel free to open a feature request issue for said proposals if relevant. |
I want to have my own boxes design, but that the lines will be connected to the boxes and not circles. Is that achievable now?
Thanks
The text was updated successfully, but these errors were encountered: