Changeset 0.28.3 (#187)
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
// connections. Lazy-loaded — initializes only
|
||||
// when the graph view is opened.
|
||||
// ==========================================
|
||||
//
|
||||
// Exports: window.openNoteGraph,window.closeNoteGraph,window._render,window._graphResetZoom,window._graphToggleOrphans,window.invalidateNoteGraph
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
var _graphData = null; // cached { nodes, edges, unresolved }
|
||||
var _graphState = null; // { panX, panY, zoom, animId, canvas, ctx }
|
||||
@@ -488,3 +493,12 @@ function invalidateNoteGraph() {
|
||||
_graphDirty = true;
|
||||
_folderColorMap = {};
|
||||
}
|
||||
|
||||
// ── Exports ─────────────────────────────────
|
||||
window.openNoteGraph = openNoteGraph;
|
||||
window.closeNoteGraph = closeNoteGraph;
|
||||
window._render = _render;
|
||||
window._graphResetZoom = _graphResetZoom;
|
||||
window._graphToggleOrphans = _graphToggleOrphans;
|
||||
window.invalidateNoteGraph = invalidateNoteGraph;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user