8000 GitHub - graph-data-structure/graph-theory-notation at greenkeeper-update-all
[go: up one dir, main page]

Skip to content

graph-data-structure/graph-theory-notation

 
 

Repository files navigation

Graph theory notation code bricks for JavaScript. Parent is js-gn.

for ( let v of V( G ) ) ... ;

NPM license NPM version Bower version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Inline docs

Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.

Install

jspm

jspm install github:aureooms/js-graph-theory-notation
# or
jspm install npm:aureooms-js-graph-theory-notation

duo

No install step needed for duo!

component

component install aureooms/js-graph-theory-notation

bower

bower install aureooms-js-graph-theory-notation

ender

ender add aureooms-js-graph-theory-notation

jam

jam install aureooms-js-graph-theory-notation

spm

spm install aureooms-js-graph-theory-notation --save

npm

npm install aureooms-js-graph-theory-notation --save

Require

jspm

let graphtheorynotation = require( "github:aureooms/js-graph-theory-notation" ) ;
// or
import graphtheorynotation from 'aureooms-js-graph-theory-notation' ;

duo

let graphtheorynotation = require( "aureooms/js-graph-theory-notation" ) ;

component, ender, spm, npm

let graphtheorynotation = require( "aureooms-js-graph-theory-notation" ) ;

bower

The script tag exposes the global variable graphtheorynotation.

<script src="bower_components/aureooms-js-graph-theory-notation/js/dist/graph-theory-notation.min.js"></script>

Alternatively, you can use any tool mentioned here.

jam

require( [ "aureooms-js-graph-theory-notation" ] , function ( graphtheorynotation ) { ... } ) ;

Use

let { V , E , N } = graphtheorynotation ;

for ( let v of V( G ) ) ... ;

for ( let e of E( G ) ) ... ;

for ( let v of N( G , u ) ) ... ;

About

Graph theory notation ror JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0