Skip to main content



      Home
Home » Archived » GMT (Generative Modeling Technologies) » [MOFScript]transformation code
[MOFScript]transformation code [message #619965] Fri, 22 August 2008 04:10
Eclipse UserFriend
Hello,
I have a series instances of different class.the relations of them looks
like the following:
a
|
b
/ | \
b1 b2 b3
| | |
c1 c2 c3
| | |
d1 d2 d3
\ | /
d
|
e
b contains 3 outports:b1,b2,b3.
d contains 3 inports:d1,d2,d3.
The target code that I want to generate looks like this:
connect a->b
connect b1->c1->d1
connect b2->c2->d2
connect b3->c3->d3
connect d->e
Hope I describe clearly!
How do I write this code in MORScript?
Thank you very much!


Ye
Previous Topic:[MOFScript] Getting Started
Next Topic:[Epsilon] [Eugenia] Diagram Imp. Samples
Goto Forum:
  


Current Time: Wed Mar 26 02:03:57 EDT 2025

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

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

Back to the top