diff --git a/manifest.json b/manifest.json
index 502f890..ffbdb62 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"id": "neo4j-graph-view",
"name": "Neo4j Graph View",
- "version": "0.2.5",
+ "version": "0.2.6",
"minAppVersion": "0.9.16",
"description": "An Obsidian plugin for advanced graph visualization and querying using Neo4j.",
"author": "Emile",
diff --git a/neo4j-graph-view/main.ts b/neo4j-graph-view/main.ts
index a22c876..2f460d8 100644
--- a/neo4j-graph-view/main.ts
+++ b/neo4j-graph-view/main.ts
@@ -33,6 +33,9 @@ export default class Neo4jViewPlugin extends Plugin {
imgServer: Server;
async onload() {
+ let noticeText = "WARNING: Neo4j Graph View is deprecated and replaced by the new Obsidian plugin Juggl."
+ new Notice(noticeText);
+ console.log(noticeText);
if (this.app.vault.adapter instanceof FileSystemAdapter) {
this.path = this.app.vault.adapter.getBasePath();
}
@@ -123,6 +126,8 @@ export default class Neo4jViewPlugin extends Plugin {
await this.initialize();
+
+
}
public getFileFromAbsolutePath(abs_path: string): TAbstractFile {
diff --git a/neo4j-graph-view/settings.ts b/neo4j-graph-view/settings.ts
index f0d5df5..334b516 100644
--- a/neo4j-graph-view/settings.ts
+++ b/neo4j-graph-view/settings.ts
@@ -89,7 +89,7 @@ export class Neo4jViewSettingTab extends PluginSettingTab {
containerEl.createEl('h3', {text: 'Neo4j Graph View'});
let doc_link = document.createElement("a");
- doc_link.href = "https://publish.obsidian.md/semantic-obsidian/Neo4j+Graph+View+Plugin";
+ doc_link.href = "https://juggl.io/Neo4j+Graph+View/Neo4j+Graph+View+Plugin";
doc_link.target = '_blank';
doc_link.innerHTML = 'the documentation';
@@ -98,8 +98,15 @@ export class Neo4jViewSettingTab extends PluginSettingTab {
discord_link.target = '_blank';
discord_link.innerHTML = 'the Discord server';
+ let juggl_link = document.createElement("a");
+ juggl_link.href = "https://juggl.io/";
+ juggl_link.target = '_blank';
+ juggl_link.innerHTML = 'Juggl';
+
let introPar = document.createElement("p");
- introPar.innerHTML = "Check out " + doc_link.outerHTML + " for installation help and a getting started guide.
" +
+ introPar.innerHTML = "WARNING: Neo4j Graph View is deprecated and will not receive any more updates. " +
+ "It will be removed from the community plugins soon. It is replaced by " + juggl_link.outerHTML + ".
" +
+ "Check out " + doc_link.outerHTML + " for installation help and a getting started guide.
" +
"Join " + discord_link.outerHTML + " for nice discussion and additional help."
containerEl.appendChild(introPar);
diff --git a/neo4j-graph-view/visualization.ts b/neo4j-graph-view/visualization.ts
index 0b93f8a..34e96e8 100644
--- a/neo4j-graph-view/visualization.ts
+++ b/neo4j-graph-view/visualization.ts
@@ -106,7 +106,7 @@ export class NeoVisView extends ItemView{
});
this.network.on("oncontext", (event) => {
// Thanks Liam for sharing how to do context menus
- const fileMenu = new Menu(); // Creates empty file menu
+ const fileMenu = new Menu(this.plugin.app); // Creates empty file menu
let nodeId = this.network.getNodeAt(event.pointer.DOM);
if (!(nodeId === undefined)) {