Skip to content
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

Bending the edges #86

Closed
djuraev opened this issue Aug 1, 2023 · 2 comments
Closed

Bending the edges #86

djuraev opened this issue Aug 1, 2023 · 2 comments

Comments

@djuraev
Copy link

djuraev commented Aug 1, 2023

I am working with topology. I need to bend edges between nodes.
Is there any sample or tutorial for it? I cannot find sample on provided examples.

@jenny-s51
Copy link
Collaborator

Hi @djuraev , we support bend points and they can be created with the Dagre layout.

You can see the topology demo app here https://topology-demo-latest.surge.sh/

If you click Basic in the sidebar and then "Single Node Demo" tab, you will see a good example of a bent edge between nodes.

You can see the demo code and how the bendpoints are implemented here:

bendpoints: [
[80, 30],
[110, 10]

@jeff-phillips-18
Copy link
Member

Closing this issue as @jenny-s51 has answered with some example source. Please re-open if you feel you need more information or you can ask on slack (https://patternfly.slack.com/archives/CK7URGJ2W)

@jessiehuff jessiehuff added this to the 2023.09 - 9/29 milestone Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

No branches or pull requests

4 participants