Skip to main content



      Home
Home » Eclipse Projects » Sirius » Set incoming and outgoing edges(Set incoming and outgoing edges in nodes properties (EAttributes))
Set incoming and outgoing edges [message #1696539] Wed, 27 May 2015 03:34 Go to next message
Eclipse UserFriend
Hi everbody,

I'm working on an Petri Net Editor based on the attached Ecore Model.

My problem is that I can create more than one arc from one Place to a Transition (example attached). It's because the Eattributes "Incomings" and "Outgoings" aren't set if I create an arc.
Can anybody give me some hints how i can handle this problem?


Thank's for any help!
  • Attachment: Petri.JPG
    (Size: 26.14KB, Downloaded 138 times)
  • Attachment: Beispiel1.JPG
    (Size: 31.25KB, Downloaded 129 times)
Re: Set incoming and outgoing edges [message #1696619 is a reply to message #1696539] Wed, 27 May 2015 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alexander,

Can you give more details about how do you want your semantic elements
be displayed and what mappings have you done in your odesign?

Best Regards

Le 27/05/2015 09:34, Alexander Schledewitz a écrit :
> Hi everbody,
>
> I'm working on an Petri Net Editor based on the attached Ecore Model.
>
> My problem is that I can create more than one arc from one Place to a Transition (example attached). It's because the Eattributes "Incomings" and "Outgoings" aren't set if I create an arc.
> Can anybody give me some hints how i can handle this problem?
>
>
> Thank's for any help!
>



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Set incoming and outgoing edges [message #1697037 is a reply to message #1696539] Mon, 01 June 2015 02:49 Go to previous messageGo to next message
Eclipse UserFriend
On 27.05.15 09:34, Alexander Schledewitz wrote:
> Hi everbody,
>
> I'm working on an Petri Net Editor based on the attached Ecore Model.
>
> My problem is that I can create more than one arc from one Place to a Transition (example attached). It's because the Eattributes "Incomings" and "Outgoings" aren't set if I create an arc.
> Can anybody give me some hints how i can handle this problem?

Have you indicated that incoming and outgoing are opposites of target
and source, respectively. Select one of the references and set the
opposite property. When you do this, the associations (references) will
be merged into one edge in the diagram.

Hallvard
Re: Set incoming and outgoing edges [message #1697317 is a reply to message #1697037] Wed, 03 June 2015 03:19 Go to previous message
Eclipse UserFriend
Sorry for the late reply.

Thank you for your replies I will try this one out.


Greetings Alex
Previous Topic:a node label cannot be saved when using Node Creation from a Palette.
Next Topic:Any problem if use Project explorer instead of Model explorer?
Goto Forum:
  


Current Time: Sat May 17 05:20:46 EDT 2025

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

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

Back to the top