Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Activity Diagram gets jumbled
Activity Diagram gets jumbled [message #476290] Mon, 19 January 2009 11:03 Go to next message
Kishore Kushwaha is currently offline Kishore KushwahaFriend
Messages: 36
Registered: July 2009
Location: Lucknow, India
Member

Hi All;

I have created a .uml file using UML2 APIs in Eclipse 3.4 as directed by
the article "Getting Started with UML2".

http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html

When I perform the actions on same .uml file using UML2 Tools:
-initialize Class Diagram
-initialize Use case

it generate the diagrams very well.

But on generating "initialize Activity Diagram", it generates the jumbled
diagram which can not be arranged even after selecting 'Arrange All'
action on it.


Please tell me, How can I fixed this problem??
Or There is a bug in UML2 tools??

Your view will be highly appreciable.

Thanks In Advance.


Regards,
Kishore
Re: Activity Diagram gets jumbled [message #476291 is a reply to message #476290] Mon, 19 January 2009 17:02 Go to previous messageGo to next message
Sergey Gribovsky is currently offline Sergey GribovskyFriend
Messages: 42
Registered: July 2009
Member
Hi,

The reason of such behaviour is that GMF layout operates with only top level
nodes. In case of Activity diagram there is solely one top level element
(Activity) usually. I can suggest only one way to fix the problem, to select
nodes inside Activity and invoke "Arrange selection". However this solution
is not ideal, because "Arrange Selection" assumes that selected nodes are
top level ones and can place node out of Activity. So place Activity to top
left corner and resize one as large as possibe to avoid placement nodes out
of bounds.

Sergey.

"kishore " <kishore_74_lko@yahoo.com> wrote in message
news:1a3c6ddac70e9187d91bc25dc95aeff0$1@www.eclipse.org...
> Hi All;
>
> I have created a .uml file using UML2 APIs in Eclipse 3.4 as directed by
> the article "Getting Started with UML2".
> http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html
>
> When I perform the actions on same .uml file using UML2 Tools:
> -initialize Class Diagram
> -initialize Use case
>
> it generate the diagrams very well.
>
> But on generating "initialize Activity Diagram", it generates the jumbled
> diagram which can not be arranged even after selecting 'Arrange All'
> action on it.
>
>
> Please tell me, How can I fixed this problem??
> Or There is a bug in UML2 tools??
>
> Your view will be highly appreciable.
>
> Thanks In Advance.
>
Re: Activity Diagram gets jumbled [message #476295 is a reply to message #476291] Tue, 20 January 2009 05:57 Go to previous messageGo to next message
Kishore Kushwaha is currently offline Kishore KushwahaFriend
Messages: 36
Registered: July 2009
Location: Lucknow, India
Member

Thanks Sergey for suggestion.

But As you told about "Arrange Selection" after selecting a child node is
also unable to make the Activity Diagram proper. It is not helpful when,
there are large number of child nodes & edges inside Activity Node. No one
can select the proper node & its edges for arranging it manually.


BTW, I am asking about any built-in methods from APIs to arrange Activity
Diagram properly after just its creation; B'coz I am generating such
digrams by a program.

Please tell me, How can I fix this bug.

Thanks in advance.
Kishore


Regards,
Kishore
Re: Activity Diagram gets jumbled [message #557935 is a reply to message #476295] Thu, 09 September 2010 13:42 Go to previous messageGo to next message
mjid is currently offline mjidFriend
Messages: 34
Registered: April 2010
Member
Hi all,

I have the same problem with activity diagram generation.
and I am asking about any built-in methods from APIs to arrange Activity Diagram properly after just its creation.

Thanks in advance,
Re: Activity Diagram gets jumbled [message #623493 is a reply to message #476290] Mon, 19 January 2009 17:02 Go to previous messageGo to next message
Sergey Gribovsky is currently offline Sergey GribovskyFriend
Messages: 42
Registered: July 2009
Member
Hi,

The reason of such behaviour is that GMF layout operates with only top level
nodes. In case of Activity diagram there is solely one top level element
(Activity) usually. I can suggest only one way to fix the problem, to select
nodes inside Activity and invoke "Arrange selection". However this solution
is not ideal, because "Arrange Selection" assumes that selected nodes are
top level ones and can place node out of Activity. So place Activity to top
left corner and resize one as large as possibe to avoid placement nodes out
of bounds.

Sergey.

"kishore " <kishore_74_lko@yahoo.com> wrote in message
news:1a3c6ddac70e9187d91bc25dc95aeff0$1@www.eclipse.org...
> Hi All;
>
> I have created a .uml file using UML2 APIs in Eclipse 3.4 as directed by
> the article "Getting Started with UML2".
> http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html
>
> When I perform the actions on same .uml file using UML2 Tools:
> -initialize Class Diagram
> -initialize Use case
>
> it generate the diagrams very well.
>
> But on generating "initialize Activity Diagram", it generates the jumbled
> diagram which can not be arranged even after selecting 'Arrange All'
> action on it.
>
>
> Please tell me, How can I fixed this problem??
> Or There is a bug in UML2 tools??
>
> Your view will be highly appreciable.
>
> Thanks In Advance.
>
Re: Activity Diagram gets jumbled [message #623518 is a reply to message #476291] Tue, 20 January 2009 05:57 Go to previous messageGo to next message
Kishore Kushwaha is currently offline Kishore KushwahaFriend
Messages: 36
Registered: July 2009
Location: Lucknow, India
Member

Thanks Sergey for suggestion.

But As you told about "Arrange Selection" after selecting a child node is
also unable to make the Activity Diagram proper. It is not helpful when,
there are large number of child nodes & edges inside Activity Node. No one
can select the proper node & its edges for arranging it manually.


BTW, I am asking about any built-in methods from APIs to arrange Activity
Diagram properly after just its creation; B'coz I am generating such
digrams by a program.

Please tell me, How can I fix this bug.

Thanks in advance.
Kishore


Regards,
Kishore
Re: Activity Diagram gets jumbled [message #626007 is a reply to message #476295] Thu, 09 September 2010 13:42 Go to previous message
mjid is currently offline mjidFriend
Messages: 34
Registered: April 2010
Member
Hi all,

I have the same problem with activity diagram generation.
and I am asking about any built-in methods from APIs to arrange Activity Diagram properly after just its creation.

Thanks in advance,
Previous Topic:Can I set partition to vertical in Activity Diagram?
Next Topic:UML2 Tools and Helios
Goto Forum:
  


Current Time: Tue Apr 23 12:57:11 GMT 2024

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

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

Back to the top