From 48a55161a22d169781fa3e0805ed2da7dac952cf Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 31 Jan 2018 02:30:32 +0100 Subject: [PATCH] Better graph rendering by randomizing appearances and links left/right in dot string --- README.md | 4 +++- example.html | 1 + parser.js | 49 +++++++++++++++++++++++++++++++++++-------------- 3 files changed, 39 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 6352f4d..acf706e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ This parser reads ER diagrams definition files, and produces two types of diagra [Graphviz](https://www.graphviz.org/) is used on server side to translate parsed graph descriptions into SVG objects. *Note:* at the moment only the conceptual graph is implemented, and no comments are allowed in textual descriptions. -At least the former is planned, and also probably a way to indicate relative identifiers. +At least the former is planned, and also probably a way to indicate relative identifiers, and maybe links between relationships. + +*Note bis:* temporary dependency to [underscore](http://underscorejs.org/); good library but used so far only for its shuffle() method. ----- diff --git a/example.html b/example.html index 22d2d3a..dcb2fcd 100644 --- a/example.html +++ b/example.html @@ -1,5 +1,6 @@
+