Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-15-2020 05:59 AM
It was clear from speaking to you all that we should be focussing more effort in documentation and examples around building Graph Apps. In the past week I've published our new Developer Guide for Graph Apps under neo4j.com/developer.
The aim of this documentation is to be a one-stop shop with all information required to build a Graph App from scratch, regardless of framework.
I'd love to hear your feedback; anything from typos to structural changes. Is the documentation easy to understand and follow? What information do you feel is missing?
Feel free to reply here or get in touch with me directly.
04-16-2020 06:20 AM
This documentation is a massive improvement over what I was aware of before. So huge kudos and thank you, boy I wish this had existed when I started halin. I do have some feedback, some is about documentation, and some is about the APIs you're documenting.
This bit of code:
const graphs = context.projects
.map(project => ({
graphs: project.graphs.filter(graph => graph.status === "ACTIVE" || graph.connection.type === "REMOTE")
}))
.reduce((acc, { graphs }) => acc.concat(graphs), [])
const { url, username, password } = graphs[0].connection.configuration.protocols.bolt
Is pointing to a really obvious missing API endpoint. This is a common thing that most graph apps will have to do (hence why it's in the doc). They shouldn't be doing this, they should instead do context.getActiveGraphs()
and context.getActiveProjects()
so that everybody isn't pasting the same boilerplate into their graphapps.
If you ever have more code that like 2 lines to do something before you're processing a result, chances are we're missing something in the Desktop API
04-24-2020 07:14 AM
I agree that the code is quite verbose. A problem that we have with this is that the window.neo4jDesktopApi
has been deprecated by the Desktop team and will be replaced in version 2.0 by the GraphQL API. There's a question there about whether or not we fight to keep the API and build on it with this and other useful methods. Or, maybe this should be something that another dependency/ component kit should take care of.
All the sessions of the conference are now available online