@aureooms/js-graph-theory-notation

2.0.0 • Public • Published

js-graph-theory-notation

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 ) ) ... ;

Package Sidebar

Install

npm i @aureooms/js-graph-theory-notation

Weekly Downloads

1

Version

2.0.0

License

AGPL-3.0

Last publish

Collaborators

  • aureooms