D3 graph service module

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
D3 graph service module provides a graph visualization of the topic map in Wandora. D3 graph service module is part of Wandora's embedded HTTP server. It is based on open source Javascript visualization library [http://d3js.org/ D3.js]. Service module's alias is '''d3graph''' and access URL
+
The D3 graph service module provides a graph visualization of the topic map in Wandora. The module is part of Wandora's embedded HTTP server. It is based on open source Javascript visualization library [http://d3js.org/ D3.js]. The service module's alias is '''d3graph''' and access URL
  
 
  http://127.0.0.1:8898/d3graph
 
  http://127.0.0.1:8898/d3graph
  
Graph visualization provided by the D3 graph service module contains only binary associations and the number of viewed topics is limited to 1000 by default. Wandora user can override this limitation with an HTTP parameter '''n'''. For example, accessing URL
+
The graph visualization provided by the D3 graph service module contains only binary associations and the number of viewed topics is limited to 1000 by default. This limitation can be overridden with the HTTP parameter '''n'''. For example, accessing URL
  
 
  http://127.0.0.1:8898/d3graph?n=9999
 
  http://127.0.0.1:8898/d3graph?n=9999
  
sets the maximum number of viewed topics to 9999. It depends on user's computing resources whether or not the created visualization is usable with 9999 nodes. It requires a lot of computing power to view graphs with 1000 nodes or more. Screen capture below views a d3graph visualization generated out of Wandora's default topic map. User can zoom in and out the graph visualization using mouse wheel. Dragging a node moves it. Dragging background moves whole graph. Mouse over on a node fades out other graph nodes.
+
sets the maximum number of viewed topics to 9999. It depends on the client's computing resources whether or not the created visualization is usable with 9999 nodes. It requires a lot of computing power to view graphs with 1000 nodes or more. Screen capture below shows a d3graph visualization generated from Wandora's default topic map. User can zoom in and out the graph visualization using the mouse wheel. Dragging a node moves it while dragging the background pans the whole graph. Mousing over on a node fades out the other graph nodes.
  
  
Line 13: Line 13:
  
  
Next screen capture views a d3graph visualization after a [[Tiling graph generator|hexagonal tiling generator]] of depth 5.
+
The next screen capture shows a d3graph visualization of an output of [[Tiling graph generator|hexagonal tiling generator]] with a depth of 5.
  
  

Revision as of 12:18, 8 August 2012

The D3 graph service module provides a graph visualization of the topic map in Wandora. The module is part of Wandora's embedded HTTP server. It is based on open source Javascript visualization library D3.js. The service module's alias is d3graph and access URL

http://127.0.0.1:8898/d3graph

The graph visualization provided by the D3 graph service module contains only binary associations and the number of viewed topics is limited to 1000 by default. This limitation can be overridden with the HTTP parameter n. For example, accessing URL

http://127.0.0.1:8898/d3graph?n=9999

sets the maximum number of viewed topics to 9999. It depends on the client's computing resources whether or not the created visualization is usable with 9999 nodes. It requires a lot of computing power to view graphs with 1000 nodes or more. Screen capture below shows a d3graph visualization generated from Wandora's default topic map. User can zoom in and out the graph visualization using the mouse wheel. Dragging a node moves it while dragging the background pans the whole graph. Mousing over on a node fades out the other graph nodes.


D3graph example 03.gif


The next screen capture shows a d3graph visualization of an output of hexagonal tiling generator with a depth of 5.


D3graph example 04.gif


See also

Personal tools