An open API service indexing awesome lists of open source software.

https://github.com/j3soon/directed-graph-visualization

A simple example of creating javascript directed-graph for topic relationship visualization using d3.js (v4)
https://github.com/j3soon/directed-graph-visualization

d3js d3v4 graph interactive-visualizations rl

Last synced: 5 months ago
JSON representation

A simple example of creating javascript directed-graph for topic relationship visualization using d3.js (v4)

Awesome Lists containing this project

README

          

# Directed Graph Visualization

A simple example of creating javascript directed-graph for topic relationship visualization using d3.js (v4).

**Preview**

Click [Here to see the Live Demo][live] of RL algorithm relationships.

[![](preview.png)][live]

[live]: https://j3soon.github.io/directed-graph-visualization/

**Features**

- Define vertices and edges through json file.
- Organize the graph automatically using force layout.
- Support moving the viewport and zooming in/out.
- Highlight relationships when the mouse enters a vertex.
- Drag vertex to reposition
- Hold down mouse buttons to filter out unrelated vertices.
- Click to log the vertex's name in console.