UNPKG

cytoscape

Version:

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

23 lines (17 loc) 480 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/index.mjs'; import animation from './animation.mjs'; import data from './data.mjs'; import events from './events.mjs'; let define = {}; [ animation, data, events ].forEach(function( m ){ util.assign( define, m ); }); export default define;