Giter VIP home page Giter VIP logo

grapho's Introduction

Grapho npm version Circle CI

Motivation

Grapho is a light-weight JavaScript library to manipulate graphs on client-side. It uses ES6 syntax to make it easier to extend the structure to whatever is suitable.

One can easily use it without profoundly knowing neither graph theory terminology nor its algorithms, working as a black-boxed data structure for relationships between any object in JavaScript. Nevertheless, it is strongly recommended for the user to have at least a basic notion of Graph Theory.

Installation

For local usage on any project, run npm install grapho --save-dev. There is also a gulp task that generates ES5 code for browsers: gulp build.

grapho's People

Contributors

brenolf avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

pashute

grapho's Issues

Floyd-Warshall Algorithm

Maybe it would be interesting to have this algorithm implemented, much as like we already have Dijkstra's.

Build to npm

Currently the npm version is not working because of ES6 issues when exporting the module.

Refactor base classes

There should be a base folder including all base classes (the ones in src but not nested within any folder).

Improve README

The README of the repo is not nearly comprehensive. There should be examples and API explanations.

Use AdjacencyList on Vertex

Currently it is using a Set to keep neighbours. It should instead use the new AdjacencyList class in order to allow Arc extensions and improve abstraction.

is it alive?

Hi,

This looks like it could be helpful in a project I'm working on, but it apparently hasn't been touched in a while and doesn't seem to have public users. Do you use it? Do you recommend any other packages that might serve similar purposes and are more actively maintained?

Thanks so much,
s

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.