vis.js is a dynamic, browser-based visualization library
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.

68 lines
2.7 KiB

  1. // utils
  2. exports.util = require('./lib/util');
  3. exports.DOMutil = require('./lib/DOMutil');
  4. // data
  5. exports.DataSet = require('./lib/DataSet');
  6. exports.DataView = require('./lib/DataView');
  7. exports.Queue = require('./lib/Queue');
  8. // Graph3d
  9. exports.Graph3d = require('./lib/graph3d/Graph3d');
  10. exports.graph3d = {
  11. Camera: require('./lib/graph3d/Camera'),
  12. Filter: require('./lib/graph3d/Filter'),
  13. Point2d: require('./lib/graph3d/Point2d'),
  14. Point3d: require('./lib/graph3d/Point3d'),
  15. Slider: require('./lib/graph3d/Slider'),
  16. StepNumber: require('./lib/graph3d/StepNumber')
  17. };
  18. // Timeline
  19. exports.Timeline = require('./lib/timeline/Timeline');
  20. exports.Graph2d = require('./lib/timeline/Graph2d');
  21. exports.timeline = {
  22. Core: require('./lib/timeline/Core'),
  23. DateUtil: require('./lib/timeline/DateUtil'),
  24. Range: require('./lib/timeline/Range'),
  25. stack: require('./lib/timeline/Stack'),
  26. TimeStep: require('./lib/timeline/TimeStep'),
  27. components: {
  28. items: {
  29. Item: require('./lib/timeline/component/item/Item'),
  30. BackgroundItem: require('./lib/timeline/component/item/BackgroundItem'),
  31. BoxItem: require('./lib/timeline/component/item/BoxItem'),
  32. PointItem: require('./lib/timeline/component/item/PointItem'),
  33. RangeItem: require('./lib/timeline/component/item/RangeItem')
  34. },
  35. BackgroundGroup: require('./lib/timeline/component/BackgroundGroup'),
  36. Component: require('./lib/timeline/component/Component'),
  37. CurrentTime: require('./lib/timeline/component/CurrentTime'),
  38. CustomTime: require('./lib/timeline/component/CustomTime'),
  39. DataAxis: require('./lib/timeline/component/DataAxis'),
  40. DataScale: require('./lib/timeline/component/DataScale'),
  41. GraphGroup: require('./lib/timeline/component/GraphGroup'),
  42. Group: require('./lib/timeline/component/Group'),
  43. ItemSet: require('./lib/timeline/component/ItemSet'),
  44. Legend: require('./lib/timeline/component/Legend'),
  45. LineGraph: require('./lib/timeline/component/LineGraph'),
  46. TimeAxis: require('./lib/timeline/component/TimeAxis')
  47. }
  48. };
  49. // Network
  50. exports.Network = require('./lib/network/Network');
  51. exports.network = {
  52. Images: require('./lib/network/Images'),
  53. dotparser: require('./lib/network/dotparser'),
  54. gephiParser: require('./lib/network/gephiParser'),
  55. allOptions: require('./lib/network/options')
  56. };
  57. exports.network.convertDot = function (input) {return exports.network.dotparser.DOTToGraph(input)};
  58. exports.network.convertGephi = function (input,options) {return exports.network.gephiParser.parseGephi(input,options)};
  59. // bundled external libraries
  60. exports.moment = require('./lib/module/moment');
  61. exports.Hammer = require('./lib/module/hammer');
  62. exports.keycharm = require('keycharm');