Giter VIP home page Giter VIP logo

gexf4js's Introduction

Gexf4js - Powered by Protovis

Usage

Insert an IFRAME into your website, appending the following to the querystring:

  • url - URL to the GEXF File
  • type - The visualization type: graph, arc, matrix

Check out the code below.

<iframe id="gexf4js" src="gexf4js.html?url=demo.gexf&type=graph" border="0" frameborder="0"></iframe>

<iframe id="gexf4js" src="gexf4js.html?url=demo.gexf&type=arc" border="0" frameborder="0"></iframe>

<iframe id="gexf4js" src="gexf4js.html?url=demo.gexf&type=matrix" border="0" frameborder="0"></iframe>

Installing

I suggest you keep the gexf4js library in the same directory as the GEXF file.

  1. Copy all the files to a gexf4js folder
  2. Copy the GEXF file to the folder
  3. Make any modifications you wish to the gexf4js.html file (like linking jQuery)
  4. Place the IFRAME tag on your page.

Files

  • gexf4js.html - use in an IFRAME. The URL to the GEXF file in the querystring (?url=).
  • jquery-1.4.2.min.js - jQuery Library
  • protovis-r3.2js - Protovis Library
  • demo.gexf - OPTIONAL - the GEXF File to load

Known Bugs

  • Doesn't work in Chrome.
  • Graph occasionally freaks out.
  • Firefox occasionally places all the nodes on top of each other.

Road Map

  • Works on ALL Browsers
  • Graph Properties - Size, Interaction
  • Node Properties - Labels, Colors, Mouseovers

gexf4js's People

Contributors

jmcampanini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.