You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
253 B
17 lines
253 B
/* global window */
|
|
|
|
var graphlib;
|
|
|
|
if (typeof require === "function") {
|
|
try {
|
|
graphlib = require("graphlib");
|
|
} catch (e) {
|
|
// continue regardless of error
|
|
}
|
|
}
|
|
|
|
if (!graphlib) {
|
|
graphlib = window.graphlib;
|
|
}
|
|
|
|
module.exports = graphlib;
|
|
|