From 8f0b7b10adaa05132768f0c559da8819117bab79 Mon Sep 17 00:00:00 2001 From: Evgeny Blokhin Date: Wed, 4 Nov 2015 19:44:26 +0100 Subject: [PATCH] polishing --- index.html | 2 +- ttl2json.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d4f0114..7d101f7 100755 --- a/index.html +++ b/index.html @@ -310,7 +310,7 @@ var force = d3.layout.force() .size([width, height]) .nodes(d3.values(nodes)).links(edges) - .linkDistance(50) + .linkDistance(80) .gravity(0.3) .charge(-2500) .on("tick", tick); diff --git a/ttl2json.py b/ttl2json.py index 01178ec..4435dac 100755 --- a/ttl2json.py +++ b/ttl2json.py @@ -7,7 +7,7 @@ RELS_TO_DRAW = ['isWifeOf', 'isMotherOf', 'isFatherOf'] -RELS_TO_INFER = ['hasGrandParent', 'isGrandParentOf', 'isGreatGrandParentOf', 'hasGreatGrandParent', 'isUncleOf', 'hasUncle', 'isGreatUncleOf', 'hasGreatUncle', 'isAuntOf', 'hasAunt', 'isGreatAuntOf', 'hasGreatAunt', 'isFirstCousinOf', 'isSecondCousinOf', 'isThirdCousinOf'] +RELS_TO_INFER = ['hasGrandParent', 'isGrandParentOf', 'hasGreatGrandParent', 'isGreatGrandParentOf', 'isUncleOf', 'hasUncle', 'isGreatUncleOf', 'hasGreatUncle', 'isAuntOf', 'hasAunt', 'isGreatAuntOf', 'hasGreatAunt', 'isFirstCousinOf', 'isSecondCousinOf', 'isThirdCousinOf'] RELS_OF_INTEREST = RELS_TO_DRAW + RELS_TO_INFER try: workpath = sys.argv[1]