Skip to content

keiono/cytoscape-d3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cytoscape to D3.js Exporter

Build Status

Coverage Status

Release history

  • 9/28/2014 - Version 1.0.2 released. Minor fixes only (no new features).
  • 9/15/2014 - Version 1.0.1 released. Node locations (x, y) will be added as node property when user select Network and View.

What is this for?

This is a Cytoscape app for exporting network and data table to D3.js style JSON. D3.js is a JavaScript library for data visualization, and some of its preset layouts support network/tree data structure. This app directly creates JSON file for those presets from Cytoscape network and data tables.

Currently, this App supports:

Quick Start Guide

Installing App

From App Store

  1. Open Apps → App Manager
  2. Select D3.js Exporter and click Install

From Source

Minimum requirment to build this app is JDK 6 and Maven 3.

  1. Clone this repository
  2. Build App:
    mvn clean install
    
  3. Copy the created JAR file to ~/CytoscapeConfiguration/3/app/installed/ directory

How to Use

To export current network and its table as D3.js style JSON, simply select a export menu:

  • File → Export → Network... - without (x,y) position of nodes
  • File → Export → Network and View... - with (x,y) position of nodes

Note

To export your data as tree, you need to select a root node manually (simply click the root node before exporting).