From 6aebfcf60244de0798357c8cf28d6ba2ee72d9db Mon Sep 17 00:00:00 2001 From: jos Date: Thu, 30 Apr 2015 17:04:37 +0200 Subject: [PATCH] Some updates in example 29 30 --- .../network/29_neighbourhood_highlight.html | 5 +- examples/network/30_importing_from_gephi.html | 254 ++++++++++-------- 2 files changed, 151 insertions(+), 108 deletions(-) diff --git a/examples/network/29_neighbourhood_highlight.html b/examples/network/29_neighbourhood_highlight.html index 8c04a349..704cf333 100644 --- a/examples/network/29_neighbourhood_highlight.html +++ b/examples/network/29_neighbourhood_highlight.html @@ -15,7 +15,8 @@ border: 1px solid lightgray; } - + + @@ -213,6 +214,4 @@ redrawAll() - - diff --git a/examples/network/30_importing_from_gephi.html b/examples/network/30_importing_from_gephi.html index b7c9e131..7d070dd7 100644 --- a/examples/network/30_importing_from_gephi.html +++ b/examples/network/30_importing_from_gephi.html @@ -1,107 +1,148 @@ - - Dynamic Data - Importing from Gephi (JSON) - - - - - + pre { + padding: 5px; + margin: 5px; + } + + .string { + color: green; + } + + .number { + color: darkorange; + } + + .boolean { + color: blue; + } + + .null { + color: magenta; + } + + .key { + color: red; + } + + +

Dynamic Data - Importing from Gephi (JSON)

+
- This example shows how to import a JSON file exported by Gephi. The two options available for the import are - available through the checkboxes. You can download the Gephi JSON exporter here: - https://marketplace.gephi.org/plugin/json-exporter/. - All of Gephi's attributes are also contained within the node elements. This means you can access all of this data through the DataSet. -
+ This example shows how to import a JSON file exported by Gephi. The two + options available for the import are + available through the checkboxes. You can download the Gephi JSON exporter + here: + https://marketplace.gephi.org/plugin/json-exporter/. + All of Gephi's attributes are also contained within the node elements. This + means you can access all of this data through the DataSet. +
+

+
+ +

-: Allow to move after import.
-: Parse the color instead of copy (adds borders, highlights etc.)
-

Node Content:

+

Node Content:

+

+
- - + +