mgraph.forcelayout
Version:
Force directed graph drawing layout
12 lines (11 loc) • 516 B
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.myTestGlobal = factory());
})(this, (function () { 'use strict';
console.log('myTestGlobal UMD factory is running!');
return function() {
console.log('myTestGlobal function called!');
return 'Hello from UMD!';
};
}));