projects
/
erdiag.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b74cfe4
)
add TODOs
author
Benjamin Auder
<benjamin.auder@somewhere>
Thu, 1 Feb 2018 14:55:39 +0000
(15:55 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Thu, 1 Feb 2018 14:55:39 +0000
(15:55 +0100)
parser.js
patch
|
blob
|
blame
|
history
diff --git
a/parser.js
b/parser.js
index
5d61040
..
ea0841a
100644
(file)
--- a/
parser.js
+++ b/
parser.js
@@
-239,6
+239,10
@@
class ErDiags
});
// Inheritances:
_.shuffle(this.inheritances).forEach( i => {
});
// Inheritances:
_.shuffle(this.inheritances).forEach( i => {
+ // TODO: node shape = triangle fill yellow. See
+ // https://merise.developpez.com/faq/?page=MCD#CIF-ou-dependance-fonctionnelle-de-A-a-Z
+ // https://merise.developpez.com/faq/?page=MLD#Comment-transformer-un-MCD-en-MLD
+ // https://www.developpez.net/forums/d1088964/general-developpement/alm/modelisation/structure-agregation-l-association-d-association/
_.shuffle(i.children).forEach( c => {
if (Math.random() < 0.5)
mcdDot += '"' + c + '":name -- "' + i.parent;
_.shuffle(i.children).forEach( c => {
if (Math.random() < 0.5)
mcdDot += '"' + c + '":name -- "' + i.parent;