Wednesday, 15 July 2015

eclipse emf - In GEF how to avoid overlapping links on each other and on other GEF elements -


I have numbers or figures to represent a flow chart on the GEF canvas. Now these flow charts are coupled and our There are several flowcharts now, the problem is that each geographical figure has 1 or more links which are added between 2 elements. As the number of elements is high, the links are crossing each other, as well as the links are crossing the other GEF elements. This creates a messy picture / diagram.

I want to avoid something like that, which means that I want to ensure that the links do not cross each other, as well as the links do not cross the other elements. Is there any way I can do in GEF? In GEF, I think some bendpoint is called, but for that I believe, we have to give some argument so that they do not overlap so that they do not overlap. Is there any readymade / auto logic available which we can use to do this?

use eclipse.draw2d.ShortestPathConnectionRouter router for org links See GEF Flow Example Plugin. You want to implement its behavior ( org.eclipse.gef.examples.flow plug-in project)


1 comment:

  1. I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. online energy drink shopping

    ReplyDelete