Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Layouting algorithm for References(Want to set a layouting algorithm for references in ecore Diagram)
Layouting algorithm for References [message #633344] Sat, 16 October 2010 18:36 Go to next message
manasa  is currently offline manasa Friend
Messages: 32
Registered: October 2010
Member
Hi,

I am trying to create an ecore diagram for a ecore model, in which i want all the references in the model to be represented diagramatically in my diagram.

I could successfully get all the references using polylines in my diagram, but the references overlap with each other.

Is there any layouting algorithm already available which i could reuse to avoid overlapping of references.

Could anyone please comment on this.

Regards,
Manasa
Re: Layouting algorithm for References [message #633481 is a reply to message #633344] Mon, 18 October 2010 07:42 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
You can integrate any layout algorithm you have, e.g. the one that is
provided with GEF. There is a description how to do that in our FAQ, see
http://www.eclipse.org/graphiti/developers/faq.php

Michael


"manasa" <manasa.priya.c@sap.com> wrote in message
news:i9cr66$mge$1@news.eclipse.org...
> Hi,
>
> I am trying to create an ecore diagram for a ecore model, in which i want
> all the references in the model to be represented diagramatically in my
> diagram.
>
> I could successfully get all the references using polylines in my
> diagram, but the references overlap with each other.
> Is there any layouting algorithm already available which i could reuse to
> avoid overlapping of references.
>
> Could anyone please comment on this.
>
> Regards,
> Manasa
>
Re: Layouting algorithm for References [message #638202 is a reply to message #633344] Wed, 10 November 2010 12:50 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Am 16.10.10 20:36, schrieb manasa:
> I could successfully get all the references using polylines in my
> diagram, but the references overlap with each other.
> Is there any layouting algorithm already available which i could reuse
> to avoid overlapping of references.
>
> Could anyone please comment on this.

We are currently working in the KIELER project to connect sophisticated
layout algorithms to diagram frameworks. This has already been done for
GMF. We are currently working on doing the Graphiti integration.

https://rtsys.informatik.uni-kiel.de/trac/kieler

See also some Demo Videos online that cover the case of class diagrams.

Cheers,
Hauke
Re: Layouting algorithm for References [message #645501 is a reply to message #638202] Fri, 17 December 2010 14:06 Go to previous messageGo to next message
Christian Reuter is currently offline Christian ReuterFriend
Messages: 34
Registered: October 2010
Member
Hello Hauke,

can you please give some more detailed advice on how to use kieler with graphiti?

In the kieler website a project "Data Flow Editor" was mentioned which may be useful for me as I need to create a data flow editor. However "trunk/kodata/" to where the link leads is not existing. Can I find it somewhere?

Best Regards,

Chris
Re: Layouting algorithm for References [message #736035 is a reply to message #645501] Thu, 13 October 2011 12:18 Go to previous message
Eclipse UserFriend
Hi,

this may be a bit late, but anyway...
We have a meta model for data flow models called KAOM (KIELER Actor
Oriented Modeling). We have a GMF based editor, a Graphiti based editor,
and an Xtext based editor for it. And of course, automatic layout. If
you are still interested, feel free to email me.

Find the Graphiti Editor here (excluding dependencies), availabe through
public SVN:

http://rtsys.informatik.uni-kiel.de/svn/kieler/trunk/plugins/de.cau.cs.kieler.kaom.graphiti/

Regards
Miro

On 12/17/2010 03:06 PM, c.reuter@testingsolutions.de wrote:
> Hello Hauke,
>
> can you please give some more detailed advice on how to use kieler with
> graphiti?
>
> In the kieler website a project "Data Flow Editor" was mentioned which
> may be useful for me as I need to create a data flow editor. However
> "trunk/kodata/" to where the link leads is not existing. Can I find it
> somewhere?
>
> Best Regards,
>
> Chris
Previous Topic:Text background color is ignored
Next Topic:Using Graphiti with an emf based model
Goto Forum:
  


Current Time: Thu Mar 28 18:03:36 GMT 2024

Powered by FUDForum. Page generated in 0.02286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top