forked from visjs-community/visjs-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-network.js
28 lines (25 loc) · 894 Bytes
/
index-network.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// utils
exports.util = require('./lib/util')
exports.DOMutil = require('./lib/DOMutil')
// data
exports.DataSet = require('./lib/DataSet')
exports.DataView = require('./lib/DataView')
exports.Queue = require('./lib/Queue')
// Network
exports.Network = require('./lib/network/Network')
exports.network = {
Images: require('./lib/network/Images'),
dotparser: require('./lib/network/dotparser'),
gephiParser: require('./lib/network/gephiParser'),
allOptions: require('./lib/network/options')
}
exports.network.convertDot = function(input) {
return exports.network.dotparser.DOTToGraph(input)
}
exports.network.convertGephi = function(input, options) {
return exports.network.gephiParser.parseGephi(input, options)
}
// bundled external libraries
exports.moment = require('./lib/module/moment')
exports.Hammer = require('./lib/module/hammer')
exports.keycharm = require('keycharm')