Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Align elements horizontally
Align elements horizontally [message #1382851] Mon, 26 May 2014 05:28 Go to next message
Al B is currently offline Al BFriend
Messages: 130
Registered: July 2009
Senior Member
Is there a way to enforce the alignment of elements horizontally instead the default vertically (see attachments)?
Re: Align elements horizontally [message #1383078 is a reply to message #1382851] Mon, 26 May 2014 07:44 Go to previous messageGo to next message
Soeren M is currently offline Soeren MFriend
Messages: 77
Registered: September 2011
Member
I didn't know that the alignment of the elements is enforced in any direction? (I've just never noticed it)
Maybe I am wrong, but if I want my elements to be aligned, I just calc it myself.
Re: Align elements horizontally [message #1383882 is a reply to message #1383078] Mon, 26 May 2014 16:31 Go to previous messageGo to next message
Al B is currently offline Al BFriend
Messages: 130
Registered: July 2009
Senior Member
You are probably correct, there is not such default enforcement.

I basically want to know if Graphiti has a layouter or API that allows you to align a particular feature type to the right of another feature or if anyone has any suggestion on how to enforce that rule.
Re: Align elements horizontally [message #1383902 is a reply to message #1383882] Tue, 27 May 2014 06:15 Go to previous messageGo to next message
Soeren M is currently offline Soeren MFriend
Messages: 77
Registered: September 2011
Member
As far as I know, there is nothing in Graphiti, but there is a framework from the University of Kiel.

http://rtsys.informatik.uni-kiel.de/confluence/display/KIELER/Home

[Updated on: Tue, 27 May 2014 06:25]

Report message to a moderator

Re: Align elements horizontally [message #1384271 is a reply to message #1383882] Wed, 28 May 2014 15:19 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
There's nothing like layouters in Graphiti. We offer only plain XY Layout.

You could programmatically set the coordinates on adding the stuff to the
diagram (add feature) and restrict moving the shapes inthe move feature.

Michael
Previous Topic:Editor doesn't get dirty
Next Topic:How to set Icon for Features (other than custom features) on the diagram context menu
Goto Forum:
  


Current Time: Fri Apr 19 05:14:28 GMT 2024

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

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

Back to the top