Be brave! And get in touch if you need help. Pull requests are very welcome.
Written in Python.
If you modify ShiCo back end, make sure to write your unit tests for your code.
To run Python unit tests, run:
$ nosetests
Written in Javascript (Angular).
You can add your own custom behaviour to the force directed graphs like this:
(function() {
'use strict';
angular
.module('shico')
.run(runBlock);
function runBlock(GraphConfigService) {
GraphConfigService.addForceGraphHook(function(node) {
node.select('circle').attr('r', function(d) {
return d.name.length;
});
});
}
})();
This snippet modifies the size of the force directed graph nodes, and makes them dependent on the length of the name in the node's data.
- Merge changes on branch
demo
- Run
gulp build
- Make github release