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

How can I make arrow bidirectional in connections? #28

Closed
iamrsojitra opened this issue Jun 18, 2021 · 3 comments
Closed

How can I make arrow bidirectional in connections? #28

iamrsojitra opened this issue Jun 18, 2021 · 3 comments

Comments

@iamrsojitra
Copy link

iamrsojitra commented Jun 18, 2021

I want to make a connection in both directions which means a connection that has an arrow at both endpoints.

Can you please guide me on how can I achieve this?

@iamppz
Copy link
Contributor

iamppz commented Jun 18, 2021

Bidirection arrow is not supported, maybe you can do it like this :P

connections: [
  {
    source: {id: 1, position: 'right'},
    destination: {id: 2, position: 'left'},
    id: 1,
    type: 'pass',
  },
  {
    source: {id: 2, position: 'left'},
    destination: {id: 1, position: 'right'},
    id: 2,
    type: 'pass',
  },
],

@iamrsojitra
Copy link
Author

iamrsojitra commented Jun 18, 2021

@iamppz Yes that I know but it creates two connections and I want a single connection with arrows at both ends.

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants