|
Re: description of a model in emf [message #1706120 is a reply to message #1706119] |
Sun, 23 August 2015 18:48 |
Yigal Spinner Messages: 127 Registered: July 2009 |
Senior Member |
|
|
I do not fully understand the diagram you posted, but basically, a UML model I attached will do the work.
Description
1. TreeNode is the root element that holds all main nodes and materials.
2. Each main node describes the combination of materials. It could have none to N materials with different percent. You can add validation not to pass 100%.
3. Each material can be referenced again in a different node with different percent.
This model basically allow to have a list of all material and each node references from the existing list of material which makes up the node.
It also allows to have separate files for nodes and material and use proxy.
I also attache the ecore file so you can create a simple project.
I hope that helps.
Yigal
[Updated on: Sun, 23 August 2015 21:09] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.23947 seconds