Problem: graph is slow

Solution: disable graph
This commit is contained in:
Peter Stuifzand 2022-04-29 21:41:49 +02:00
parent 79aba57dcb
commit 66fe665bf2

View File

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