Graph theory notation code bricks for JavaScript.
for ( let v of V( G ) ) ... ;
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
jspm install github:aureooms/js-graph-theory-notation # or jspm install npm:aureooms-js-graph-theory-notation
No install step needed for duo!
component install aureooms/js-graph-theory-notation
bower install aureooms-js-graph-theory-notation
ender add aureooms-js-graph-theory-notation
jam install aureooms-js-graph-theory-notation
spm install aureooms-js-graph-theory-notation --save
npm install aureooms-js-graph-theory-notation --save
let graphtheorynotation = require( "github:aureooms/js-graph-theory-notation" ) ; // or import graphtheorynotation from 'aureooms-js-graph-theory-notation' ;
let graphtheorynotation = require( "aureooms/js-graph-theory-notation" ) ;
let graphtheorynotation = require( "aureooms-js-graph-theory-notation" ) ;
The script tag exposes the global variable graphtheorynotation.
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.
require( [ "aureooms-js-graph-theory-notation" ] , function ( graphtheorynotation ) { ... } ) ;
let { V , E , N } = graphtheorynotation ; for ( let v of V( G ) ) ... ; for ( let e of E( G ) ) ... ; for ( let v of N( G , u ) ) ... ;
js-graph-theory-notation
Graph theory notation code bricks for JavaScript.
for ( let v of V( G ) ) ... ;
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
Install
jspm
duo
No install step needed for duo!
component
bower
ender
jam
spm
npm
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 ) ) ... ;