|
Re: Element-Based Edges [message #1645342 is a reply to message #1645207] |
Mon, 02 March 2015 13:08 |
Esteban Dugueperoux Messages: 472 Registered: July 2009 |
Senior Member |
|
|
Hi Studs,
You limit graphical source/target by using the "Source Mapping" and
"Target Mapping" features of your Element Based Edge Mapping.
Best Regards.
Le 02/03/2015 12:39, Studs Terkel a écrit :
> Hi,
>
> in my model I have objects, that represents a relation, that I want to
> display as edge in my diagram. The object that represents the realtion
> (ActivityInputMapping) have a reference to certain eObjects: source and
> target.
>
>
> By using the Source Finder Expression, i can identify the related
> semantic object: [self.input/]. The problem now: This semantic object
> has mulitple graphical representaions in the diagram. So, in the
> diagram, I get an edge (dashed) for all these graphical representations...
>
>
>
> The two red nodes have the same semantic object, but only one node
> should really be the source of an edge. Is there a possiblity to
> limit/filter the graphical representations of a semantic object?
--
Esteban Dugueperoux - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
Re: Element-Based Edges [message #1651377 is a reply to message #1650034] |
Thu, 05 March 2015 09:11 |
Esteban Dugueperoux Messages: 472 Registered: July 2009 |
Senior Member |
|
|
Hi Studs,
If I understand well, you have a diagram with 2 top level nodes
corresponding to Task t1 and t2. These two Tasks have bordered nodes to
represents Task.mandatoryInput:WorkProduct. And from your previous post
you have a Element Based Edge Mapping to ActivityInputMapping as edge
between the bordered nodes, i.e. between WorkProduct.
But where it is not very clear for me in this post is that you say that
WorkProduct is also represented graphically in Activity a1 and a2.
Ok then saying that WorkProducts are represented both in Task as border
node and in Activity in any mapping, and you want ActivityInputMapping
represented as edge between graphical representations of your
WorkProduct but not between all of them. If you want edge displayed only
between WorkProducts graphically represented through Activity, you must
write a Precondition expression checking that.
Best Regards.
Le 04/03/2015 17:33, Studs Terkel a écrit :
> Ok, here is a minimized example. First a simplified class diagram:
>
>
>
> The example in my first post can be represented by following objects:
>
> wp1: WorkProduct
> wp2: WorkProduct
> wp3: WorkProduct
> wp4: WorkProduct
>
> t1: Task
> mandatoryInput=wp1, wp2
>
> t2: Task
> mandatoryInput=wp1, wp2, wp3, wp4
>
> aim1: ActivityInputMapping
> input=wp1
>
> a1: Activity
> name= assess_results
> task=t1
>
> a2: Activity
> name=manage_iteration
> task=t2
> inputs=aim1
>
>
> In my example, the mandatoryInputs of a Task are displayed as Bordered
> Nodes (Bordered TD Mandatory Input):
>
>
>
> Like I said, wp1 has two graphical representaions: one in a1 and one in
> a2. The Element-Based Edges should only start from the graphical
> representaion in a2.
--
Esteban Dugueperoux - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.06283 seconds