Giter Club home page Giter Club logo

gsakkit-xsbir's Introduction

GSAK-KIT

This project provides a plugin for graph analysis and visualization through which you can easily embed, visualize, and analyze your data on any website or web page.

Building the Project:

Prerequisits:

  • Apache Maven 3.x
  • Java 8
  • Git (Optional)

Steps

  • Download or clone Gsak-Kit from github into any convenient Directory (Path should not contain special Characters like spaces etc.).
  • Go to Project root directory (Directory containing src, pom.xml)
  • To add dependencies run the following commands in project root directory using command line.
    mvn install:install-file -Dfile=src/lib/gephi-toolkit.jar -DgroupId=gephi-toolkit -DartifactId=gephi-toolkit -Dversion=1.0 -Dpackaging=jar

    mvn install:install-file -Dfile=src/lib/gephi-cw.jar -DgroupId=gephi-cw -DartifactId=gephi-cw -Dversion=0.0.1 -Dpackaging=jar

    mvn install:install-file -Dfile=src/lib/uk-ac-ox-oii-sigmaexporter.jar -DgroupId=uk-ac-ox-oii-sigmaexporter -DartifactId=uk-ac-ox-oii-sigmaexporter -Dversion=1.0 -Dpackaging=jar

  • To build the Project, execut the following commands:
    mvn compile
    mvn clean package
  • If compilation completed without any error, a target directory will be created inside project root directory.
  • The target directory should contain a jar file with possible name gsak-kit-with-dependencies.jar.
  • To deploy gsak-kit server, execute the following command inside target directory.
    java -jar gephikit-0.0.1-SNAPSHOT-jar-with-dependencies.jar ../configuration.json
  • Open localhost:8182/ in any browser; A welcome message will be display.

Routes:

Routes define different graph operations that can be applied to the visulized graph. Standard operations mainly include graph Layouts, Filtration or combination of both.

Welcome Route

  • Route: / It will display welcome message

Basic Graph

  • Route: /gephi

  • Parameter(optional and Data Source Specific):

  • Elasticsearch Params Options: basicSettings={"selectedDataSource":"elasticsearch","searchValue":"KEYWORDS'","host":"localhost","port":"9300","clusterName":"elasticsearch","index":"indexName","type":"indexTypeName","documentsLimit":"1000"}

  • Text File Params Options: basicSettings={"selectedDataSource":"file","filePath":"path_to_the_tweets_file"}

    • e.g. File as Data source:: localhost:8182/gephi?basicSettings={"selectedDataSource":"file", "filePath":"/etc/tweets.txt", "searchValue":"justin bieber"}

Layouts

  • Route: /layout
  • Layout name: "name"=YifanHuLayout
  • e.g. YifanHuLayout: localhost:8182/layout?layoutSettings={"name":"YifanHuLayout","distance":100, "iterations":100}
  • e.g. FruchtermanReingold: localhost:8182/layout?layoutSettings={"name":"FruchtermanReingold","size":10, "iterations":100, "gravity":0.1}
  • Possible Layouts: YifanHuLayout, FruchtermanReingold

GSAK-KIT is divided into two sections.

The server side

  • input
    Text data or the built-in graph
  • output
    Processed graph
  • Description
    The server side will do all the data processing, graph generation, analysis, filteration, etc. When the server is provided with text data, it generates a graph based on specific keywords or relationships that exist within the data. When the server is provided with the built-in graph, it will analyze and filter the graph to create another processed graph. The server specifies formats for the input data. From this, the server generates the graph and provides a way to write your own implementation code for the graph generator.
  • Third Party Libraries
    For graph processing we'll use the GephiToolkit
    For java web server we'll use the Undertow
    For logging we'll use log4j2

The front end side

  • input
    Processed graph data
  • output
    Sigma graph
  • Description
    The front end will provide a way for visualizing the graph generated by the server. The front end will also provide a way to use the graph services in a webpage.
  • Third Party Libraries
    For front end visualization we'll use the SigmaJs

    The front-end visualization is completely independent of the backend graph generation/processing, it will enable users to design their own front-end layouts and to use graph services where they need.

License

The code is licensed under the Apache License Version 2.0

Questions or Suggestions

Email [email protected]
Issues https://github.com/project-spinoza/gsak-kit/issues

gsakkit-xsbir's People

Contributors

rapidocoder avatar

Watchers

 avatar  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.