UNPKG

cytoscape

Version:

Graph theory (a.k.a. network) library for analysis and visualisation

23 lines (17 loc) 458 B
// use this module to cherry pick functions into your prototype // (useful for functions shared between the core and collections, for example) // e.g. // let foo = define.foo({ /* params... */ }) import * as util from '../util'; import animation from './animation'; import data from './data'; import events from './events'; let define = {}; [ animation, data, events ].forEach(function( m ){ util.assign( define, m ); }); export default define;