X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=example.html;h=3ab245886dd4829e0d1459a3a3a866693964d226;hb=8edb29ffa12fda61a939295ce00a6d22133131d1;hp=dcb2fcdbc958144f9d21804c077e045664db81ec;hpb=48a55161a22d169781fa3e0805ed2da7dac952cf;p=erdiag.git diff --git a/example.html b/example.html index dcb2fcd..3ab2458 100644 --- a/example.html +++ b/example.html @@ -1,4 +1,11 @@ -
+

MCD graph:

+
+ +

MLD graph:

+
+ +

SQL instructions:

+
@@ -6,14 +13,14 @@ let er = new ErDiags(` [Musician] - #id (integer) + +id integer name band - role (varchar not null) + role varchar not null [Instrument] - #name - family (varchar not null default "Brass") + +name + family varchar not null default "Brass" [Piano] type @@ -30,5 +37,7 @@ is_a Instrument Piano Guitar `); - er.drawMcd("test"); + er.drawMcd("mcd"); //,"bubble" + er.drawMld("mld"); + er.fillSql("sql");