Browse Source

Problem: graph is slow

Solution: disable graph
master
Peter Stuifzand 3 months ago
parent
commit
66fe665bf2
  1. 8
      editor/src/index.js

8
editor/src/index.js

@ -3,7 +3,7 @@ import moment from 'moment' @@ -3,7 +3,7 @@ import moment from 'moment'
import './styles.scss'
import Editor from './editor'
import MD from './markdown'
import wikiGraph from "./graph";
// import wikiGraph from "./graph";
import "./sr";
moment.locale('nl')
@ -11,9 +11,9 @@ moment.locale('nl') @@ -11,9 +11,9 @@ moment.locale('nl')
// PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-mermaid')
// PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-dot')
$(function () {
setTimeout(() => wikiGraph('.graph-network'), 1);
})
// $(function () {
// setTimeout(() => wikiGraph('.graph-network'), 1);
// })
/*
* EVENTS

Loading…
Cancel
Save