Skip to content

parmentf/browser-concept-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concept Network

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.

Installation

Get the files

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.git

Try it

Then, drag and drop file browser-concept-network/cn.html into your browser (tested in Google Chrome 23, Firefox 18 and Chromium 20 ?).

Put it in another application

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

Demonstration

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.

Development

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 publish

For publishing the page on github, use:

git checkout gh-pages
git merge master
git push
git checkout master

Release History

  • 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

License

Copyright (c) 2013 François Parmentier francois.parmentier@gmail.com Licensed under the MIT license.

About

The browserified version of node-concept-network.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors