base.js 404 B

12345678910111213141516171819
  1. import { Disposable } from '@antv/x6-common';
  2. export class Base extends Disposable {
  3. get options() {
  4. return this.graph.options;
  5. }
  6. get model() {
  7. return this.graph.model;
  8. }
  9. get view() {
  10. return this.graph.view;
  11. }
  12. constructor(graph) {
  13. super();
  14. this.graph = graph;
  15. this.init();
  16. }
  17. init() { }
  18. }
  19. //# sourceMappingURL=base.js.map