X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=README.md;h=83d1b909db3f30907f34bf8f17cb9705c82d809b;hb=04ccd4f6ea87ab6791efff26f2b61806777294ac;hp=ef279e629813bb4a962e719a5dc1b75d1e2a8d63;hpb=7a80e6db5860033f0a922d54cc0ba3e950f4f268;p=erdiag.git diff --git a/README.md b/README.md index ef279e6..83d1b90 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,11 @@ To indicate an inheritance relation, proceed as follow Animal Cat Fish Planet Mars Venus -Finally, blocks must be separated by new lines. For a usage example, see example.html (it should render as seen in example\_\*.svg) +Finally, blocks must be separated by new lines. For a usage example, see example.html (it should render as seen in example\_\*.svg); +or example2.html for a bigger, more realistic illustration (small social network). Note that the "drawMcd" method can take a second argument, which indicates the type of graph. - * "bubble" draws the standard graph, as seen [here](https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model#/media/File:ER_Diagram_MMORPG.png) for example + * "bubble" draws the standard graph, as seen [here](https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model#/media/File:ER_Diagram_MMORPG.png) * "compact" (default) use the same box for an entity and its attributes ----- @@ -67,8 +68,7 @@ Note that the "drawMcd" method can take a second argument, which indicates the t **TODO** list: - functional integrity constraints (CIF) - - inter-relations constraints (or, and, xor...) + - inter-relations constraints (or, and, xor, inclusion) - inheritance with the right symbol (triangle) - - put online somewhere (user enter graph description and get SVG + SQL) -*Implementation note:* temporary dependency to [underscore](http://underscorejs.org/); good library but used so far only for its shuffle() method. +*Implementation note:* temporary dependency to [underscore](http://underscorejs.org/); used only for its shuffle() method.