Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-03-2020 03:44 AM
Hi!
I have been using neo4j for several years now - mostly with spring-data-neo4j and for all kinds of applications - but always thought that editing the actual data in the nodes and relationships was very clumsy (writing cypher queries in the neo4j browser).
That's why I developed "neo4j Explorer" a couple years back and I just completely rewrote the entire thing from scratch in React so there is no longer any need for an app server or even any server-side scripting. You just unpack it into the document root of your web server and you are good to go!
Here are some feature highlights:
*) NEW in neo4j Explorer 2
BTW the UNDO feature has alread come in very handy and saved my a** (on a production DB of a customer!) in the short time I have been developing and using v2
I also made the responsive UI work on all devices and form factors (the old version was really only usable on desktops). I am still fine-tuning things while more and more people start using it and if you also give it a try, I really appreciate your feedback, bugreports and feature requests! THX!
Check out neo4j Explorer 2 here: https://netbizltd.com/neo4j
I also added some details, video-snippets and tips that might come in handy to get started quickly and I am planning on collecting FAQ on the page.
Some other features I have on my own wish list:
Hope you enjoy this tool,
Cheers, Chris
06-03-2020 10:49 AM
Hey Chris,
This looks awesome! How would you feel about turning this into a Graph App so that it can be launched directly from Neo4j Desktop? We can add it to the Graph App Gallery too if you like.
06-03-2020 10:52 AM
#promoted !!
@adam.cowley let's also consider an Online Meetup too afterwards if @chris3 is interested.
06-03-2020 11:02 AM
Hi Adam,
Thanks! I will look into that ASAP
Cheers, Chris
06-04-2020 07:51 AM
Hi Adam,
I have refactored some stuff (e.g. removed URL-based-routing and made it work from file:// location), created a release-notes.md and packaged everything up.
I am using window.neo4jDesktopApi to connect and disconnect when the GRAPH_ACTIVE and GRAPH_INACTIVE events are fired. I have to say it works great
Shall I send you the TGZ to try out?
Desktop complains about unsigned package. What's required?
How does the whole Apps Gallery work (esp. with updates)?
What are the next steps?
Cheers, Chris
06-04-2020 01:48 PM
Great news! thanks so much.
Graph app gallery is currently a static page, that we can add your app to after testing.
Did you test with 4.x and 3.x and the latest desktop (1.2.9) ?
Signing is currently for internal/labs apps. If you need extra permissions you can declare them and afaik that's not questioned with signing.
Signing soon(ish) for partners and at some point for external contributors.
06-04-2020 01:52 PM
Btw. there is also activation key support that you can use to issue full-feature-activation to your fully licensed users.
06-05-2020 01:04 AM
Activation key support: Looking into that .. THX!
06-05-2020 01:20 AM
Re: Graph App Gallery:
I have been using (=testing? ;)) my app on 4.0.3, 3.5.14 and 3.5.3
Yes, I have desktop version 1.2.9
Signing: FYI This is what I get when I drag & drop the TGZ onto the Install area. I am not asking for any special permissions in package.json / manifest
Gallery: So gallery is simply linking to a static URL on my side and I can exchange the underlying file there when I have a new version ready (currently this is daily since I am still adding features like crazy)?
Cheers, Chris
06-05-2020 01:54 AM
You should publish it to npm or a private npm repo and share that URL then you get auto updates. Otherwise not which we would not want for our users.
What exactly did not work with the deep link URL? Can you share what you used? URL and code?
06-05-2020 04:33 AM
Deep links: I was hoping that something like a
window.open('neo4j-desktop://graphapps/neo4j-browser?cmd=edit&arg=MATCH%20(n0)%20WHERE%20id(n0)%3D0%20RETURN%20n0')
when called from the app running inside of neo4j desktop would open the neo4j browser and paste the query ready to be executed.... but since that doesn't work I thought maybe there is a more direct way using neo4jDesktopApi
BTW
<a href="neo4j-desktop://graphapps/neo4j-browser?cmd=edit&arg=MATCH%20(n0)%20WHERE%20id(n0)%3D0%20RETURN%20n0">test</a>
doesn't do anything either...
06-08-2020 12:38 AM
Can you check that your neo4j desktop is handling the URL prefix neo4j-desktop://
?
There are different tools for the different operating systems that allow you to check/fix those.
06-08-2020 05:31 AM
Alrighty, I have finally managed to make Deep Linking to neo4j Desktop on Linux (Ubuntu / Gnome) work!
/usr/share/applications/neo4j-desktop.desktop
with this content:[Desktop Entry]
Name=neo4j Desktop
Exec=<path to AppImage> %u
Path=<dir of AppImage>
Icon=<path to icon>
Terminal=false
Type=Application
Categories=Application
AppImage = neo4j-desktop-1.2.9-x86_64.AppImage at the time of writing
xdg-mime default neo4j-desktop.desktop x-scheme-handler/neo4j-desktop
to register "neo4j-desktop://" URLs to open with neo4j-desktop
xdg-open "neo4j-desktop://graphapps/neo4j-browser?cmd=edit&arg=MATCH%20(n0)%20WHERE%20id(n0)%3D0%20RETURN%20n01"
should open neo4j desktop and the neo4j browser and fill in the query ready to be executed
enter the URL
neo4j-desktop://graphapps/neo4j-browser?cmd=edit&arg=MATCH%20(n0)%20WHERE%20id(n0)%3D0%20RETURN%20n01
in your browser and neo4j desktop should also open.
Note: worked in firefox and vivaldi (both asked if I wanted to open neo4j desktop) but did NOT work in Brave (didn't ask, simply opened search engine, don't know why yet)
As soon as this works correctly, it also works from within neo4j Commander:
Note to Graph App devs: window.open does not work, <a target="_blank"> does not work either.
It has to be a simple link like <a href="neo4j-desktop://graphapps...">...</a>
06-08-2020 05:43 AM
Hi @michael.hunger @adam.cowley @neo4j_devrel
What else needs to be done to get neo4j Commander onto the Apps Gallery?
Cheers, Chris
06-08-2020 02:35 PM
Hi @chris3, I think an article introducing it e.g. on medium.com/neo4j (you can submit an article to the publication if you give us your medium username).
Let's continue the detail discussion via email. I'll drop you a line.
Looks really great.
06-05-2020 06:54 AM
Just realized that there is a projekt called "yFiles Neo4j Explorer" that is also in the apps gallery.
Maybe we should rename our project to prevent confusion?
06-05-2020 11:37 AM
OK, rebranded it to "neo4j Commander"
Public NPM of trial version: https://www.npmjs.com/package/neo4jcommander
06-04-2020 10:57 AM
@adam.cowley Can I ask a question: Is there a way (maybe via neo4jDesktopApi) to push a Cypher Query over to the neo4j Browser ... so that after I have some nodes open in my app I can quickly open the same nodes in Browser?
Maybe you could point me in the right direction... THX!
06-04-2020 01:46 PM
yes there is a deep link:
neo4j-desktop://graphapps/neo4j-browser?cmd=edit&arg=match%20(n)%20return%n
06-05-2020 01:01 AM
Hi Michael,
deep-linking to neo4j browser:
I tried that and it didn't work for me, so I asked.
Will have to figure out what the problem is but to me it seemed like the web view opened by "desktop" completely ignores window.open or document.location.href ...
08-28-2020 05:30 AM
it seems that deep links have stopped working... did something change?
using links like
neo4j-desktop://graphapps/neo4j-browser?cmd=edit&arg=MATCH....
but neo4j Browser never opens (neither from browser nor from app opened inside of neo4j Desktop)
using neo4j Desktop 1.3.4 in Windows 10
06-09-2020 03:51 PM
Btw. the correct NPM URL to install neo4j commander into Neo4j Desktop is
01-06-2022 06:31 AM
Hello Michael,
we have just launched a new major version: neo4j Commander 3
the graph app is now published at neo4jcommander3 - npm
Would you be so kind and change the Graph Apps Gallery for us. Thank you!
Find out everything here: https://neo4jcommander.com
Cheers, Chris
06-10-2020 06:45 AM
For everyone following this thread:
Read the article here:
And fire up neo4j Commander from the Apps Gallery in neo4j Desktop!
Thanks to the neo4j Team!!!
Cheers, Chris
06-28-2020 06:51 AM
Hey guys,
please follow netbiz on twitter for neo4j Commander updates: https://twitter.com/netbizltd
THX!
07-03-2020 02:59 AM
All the sessions of the conference are now available online