The browserified (browserify) version of node-concept-network.
Concept Network is a weighted directed graph, in which activation values are propagated. Written in Node.js.
browser-concept-network allows its use within a web browser.
Download the files: https://github.com/parmentf/browser-concept-network/archive/master.zip
Or clone the repository:
git clone https://github.com/parmentf/browser-concept-network.gitThen, drag and drop file browser-concept-network/cn.html into your browser
(tested in Google Chrome 23, Firefox 18 and Chromium 20 ?).
Import js/bundle-concept-network.min.js, js/jquery-1.8.3.min.js,
js/mustache.min.js, and js/concept-network.js into your HTML page.
Take a look at concept-network.js and cn.html, and adapt it to your
web application.
The important part is:
var ConceptNetwork = require('concept-network').ConceptNetwork;
cn = new ConceptNetwork();Warning: until it is fixed, you have to write instead:
var ConceptNetwork = require('/home/francois/dev/browser-concept-network/lib/concept-network').ConceptNetwork;
cn = new ConceptNetwork();You can take a look at the demonstration
or drop the cn.html file on your browser.
For now, you can only load a Concept Network generated by ECTOR's demonstration and visualize their nodes.
When a new version of node-concept-network is available, and you want to update version 0.1.0 to 0.1.1, use these steps:
npm update concept-network
make version v=0.1.1
vi README.md
make index.html
git commit -a
make publishFor publishing the page on github, use:
git checkout gh-pages
git merge master
git push
git checkout master- 2013/01/15: version 0.1.2: Nodes displayed in a JQuery DataTables
- 2013/01/13: version 0.1.1: Demonstration initialized
- 2013/01/13: version 0.1.0: Initial release
Copyright (c) 2013 François Parmentier francois.parmentier@gmail.com Licensed under the MIT license.