-
Notifications
You must be signed in to change notification settings - Fork 309
Is there an example of displaying a label on a link in ForceGraph2D? #515
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
Comments
@NB3025 if you're using the 2D mode, you need to implement |
if use |
Essentially yes. If you're drawing a custom link, you're responsible for deciding the position where the custom drawing is taking place. |
Thank you for your reply , I need to draw it myself because I want to display labels on the links |
I am using ForceGraph2D.
And I'm using curves to connect the nodes.
I want to display the link label in the center of the curve.
Could there be an example for this?
I can only find examples for ForceGraph3D.
example/text-links/index-3d.html
I made the following changes based on this, but it doesn't work
The text was updated successfully, but these errors were encountered: