UNPKG

cytoscape-fcose

Version:

The fCoSE layout for Cytoscape.js by Bilkent with fast compound node placement

10 lines (7 loc) 275 B
// Simple, internal Object.assign() polyfill for options objects etc. module.exports = Object.assign != null ? Object.assign.bind( Object ) : function( tgt, ...srcs ){ srcs.forEach( src => { Object.keys( src ).forEach( k => tgt[k] = src[k] ); } ); return tgt; };