We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aef904 commit 3002d35Copy full SHA for 3002d35
Readme.md
@@ -46,7 +46,7 @@ var Member2Female = {
46
return [d];
47
}
48
49
-
+```
50
51
Launching the transformation is made by creating a new Transformation then by adding the rules it contains.
52
```javascript
@@ -55,10 +55,12 @@ transformation.addRule(Member2FeMale);
55
transformation.addRule(Member2Male);
56
```
57
58
+
59
Execution of transformation rule is made using the apply function on a transformation. The parameters
60
are the input Model and output model (as defined in JSMF).
61
62
transformation.apply(M.ma, M.mb);
63
64
65
66
You can find examples, discover the other components and test it online with Tonic on JSMF github website (https://js-mf.github.io/#portfolio)
0 commit comments