GraphView icon indicating copy to clipboard operation
GraphView copied to clipboard

[Feature Request]: Ability to Drag and Drop nodes

Open satyan opened this issue 5 years ago • 3 comments

Hi Team,

First of all, thanks for the amazing library. It has been really useful in developing one of the core visualizations in my app.

I had couple of feature requests:

  • Ability to draw Edges as arcs instead of straight lines. (Enhances the look of the resulting visualization)
  • Ability to drag/drop or reposition nodes.
  • Algorithm to fan out the graph. (another option beside top/down, left/right)

If someone has been able to make the above work, would love to see the implementation. Else, I'd work on adding these abilities myself. Any suggestions/directions are welcome.

Thanks again for all the work on this.

satyan avatar Aug 18 '20 19:08 satyan

  1. See #67 as starting point
  2. See #32 as starting point
  3. What du you mean by fan out the graph?

The points are not a priority for us at the moment but we would be happy for a PR. If something is not clear then just ask.

GregorBlock avatar Aug 31 '20 15:08 GregorBlock

Thanks @GregorBlock Your references look very useful.

By fan out, I meant a radial layout, that looks something like this: Screen Shot 2020-08-31 at 11 53 55 AM

I'll share a PR once I have something.. thanks for your inputs.

satyan avatar Aug 31 '20 18:08 satyan

Currently we are working on building GraphView around the RecyclerView, see recycler branch. When this is finished we will concentrate on developing new layouts including the radial layout.

GregorBlock avatar Sep 01 '20 10:09 GregorBlock