Graphin icon indicating copy to clipboard operation
Graphin copied to clipboard

Need quadratic style for edge

Open boan-anbo opened this issue 3 years ago • 0 comments

Describe the bug

  • The official solution for more than one edges between two nodes suggested for G6 is using quadratic line: https://g6.antv.vision/en/docs/manual/middle/elements/methods/multi-line

  • However, Graphin only allows 'graphin-style': https://github.com/antvis/Graphin/blob/f578319990d545e24b340d2003522f90e3c9afdc/packages/graphin/src/Graphin.tsx#L175

  • So two edges between two nodes become weird and the edges point to none of the nodes (top left on the picture): image

Your Example Website or App

None

Steps to Reproduce the Bug or Issue

  • Create two edges between two nodes

Expected behavior

Expect more than one edge between two nodes.edge

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Chrome, React
  • Version: [e.g. 91.1]

Additional context

No response

boan-anbo avatar Sep 06 '22 03:09 boan-anbo