From 4440fe6d194ddab8fe817224829a18b6e8fc80cf Mon Sep 17 00:00:00 2001 From: born <born@cl.uni-heidelberg.de> Date: Tue, 23 Jul 2019 16:27:50 +0200 Subject: [PATCH] Update README.md --- visualization/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/visualization/README.md b/visualization/README.md index dd6da01..990751f 100644 --- a/visualization/README.md +++ b/visualization/README.md @@ -33,7 +33,7 @@ After visualization is complete, you can interact with the graph in the followin * If you now map offences to punishments, you get this:  -### Some comments on the architecture with special emphasis on _special node types_ +## Some comments on the architecture with special emphasis on _special node types_ Initially, the idea was to make the visualization suite as generic as possible, i.e. that almost any JSON file that adhered to the basic structure of {"nodes": [{id: 1, label: "Something", attributes: {...}}, {...}], "edges": [{id: 1, source: 1, target: 2}, {...}] @@ -48,7 +48,7 @@ These variables maintain a somehwat generic code base by simply defining only _o In a future update, we might expand this idea by allowing you to freely change a config file that simply gets read by the suite, instead of having to change the code in the nested directory. -#### **$rootScope.json\_mapping** +### **$rootScope.json\_mapping** The first variable is intended to define a mapping between the JSON-specific nomenclature of keys to the generic graph-theoretical terminology. @@ -62,7 +62,7 @@ For example, if you call your nodes "knoten" and your edges "verbindungen", you This way, every time the suite needs to access nodes, it can do so by checking this mapping on how _you_ refer to nodes. -#### **$rootScope.special\_node\_types** +### **$rootScope.special\_node\_types** The second variable declares some nodes to be "special" in the sense that those are nodes that should be displayed differently from undeclared nodes. Notice that this automatically displays nodes with the default shape and color if they do not match the condition given in the variable. -- GitLab