Is it possible to edit nodes from GUI level in neo4j browser?
I want to make MATCH query which returns some nodes and then edit them using UI. Just like you can do it in many SQL databases clients, where you SELECT some data, edit some rows by hand and commit changes to database.
Neo4j Browser doesn't have an option to edit the graph from the UI, but Neo4j Bloom does - Edit graph data
What you're describing is a WYSIWYG type experience, which some RDBMS GUIs offer, but is usually not the most efficient nor safe way of updating your data.
If you want to edit the data in your database, you would have to use Cypher CREATE or UPDATE statements.
https://neo4j.com/developer/cypher/updating/
Related
I've been asked to take a bunch of saved TFS Work Items > Shared Queries and reverse engineer them as SSRS reports for more elegant dashboarding.
For all of these I can right-click > Query Editor and it will take me to the Query Editing GUI, which has drop-down list for fields, but I'm not seeing any functionality that allows one to view the underlying WIQL query against the TFS_Warehouse (I'm assuming) database.
Question: Is there a way to get the underlying WIQL for a given TFS Shared Query?
I've done some searching on my own, and am finding multiple pages related to writing your own, but none where you can get the pre-existing for a shared query.
To get the underlying WIQL you can use File-Save as
Pick "file" as target option:
To create a warehouse query use the new report option in the Team tab in Excel. That will allow you to select a work item query which will be turned into a report.
See:
https://jessehouwing.net/vsts-tfs-generate-work-item-query-for-tfs-api/
so I developed a small Neo4j database with the aim of providing users with path-related information (shortest path from A to B and properties of individual sections of the path). My programming skills are very basic, but I want to make the database very user-friendly.
Basically, I would like to have a screen where users can choose start location and end location from dropdown lists, click a button, and the results (shortest path, distance of the path, properties of the path segments) will appear. For example, if this database had been made in MS Access, I would have made a form, where users could choose the locations, then click a control button which would have executed a query and produced results on a nice report.
Please note that all the nodes, relationships and queries are already in place. All I am looking for are some tips regarding the most user-friendly way of making the information accessible to the users.
Currently, all I can do is make the users install neo4j, run neo4j every time they need it, open the browser, run the cypher script and then edit the cypher script (write down strings as locations) and then execute the query. This makes it rather impractical for users and also I am worried that some user might corrupt the data,
I'd suggest making a web application using a web framework like Rails, especially if you're new to programming. You can use the neo4j gem for that to connect to your database and create models to access the data in a friendly way:
https://github.com/neo4jrb/neo4j
I'm one of the maintainers of that gem, so feel free to contact us if you have any questions:
neo4jrb#googlegroups.com
http://twitter.com/neo4jrb
Also, you might be interested in look at my newest project called meta model:
https://github.com/neo4jrb/meta_model
It's a Rails app that lets you define via the web app UI your database model (or at least part of it) and then browse/edit the objects via the web app. It's still very much preliminary, but I'd like to be able to things like what you're talking about (letting users examing data and the relationships between them in a user friendly way)
I general you would write an tiny (web/desktop/forms-)application that contains the form, takes the form values and issues the cypher requests with the form values as parameters.
The results can then be rendered as a table or chart or whatever.
You could even run this from Excel or Access with a Macro (using the Neo4j http endpoint).
Depending on your programming skills (which programming language can you write in) it can be anything. There is also a Neo4j .Net client (see http://neo4j.com/developer/dotnet).
And it's author Tatham Oddie showed a while ago how to do that with Excel
Thinking in user stories, my requirement would be:
As a development department manager, I want to get the full list of iterations by team project, in order to have a full view of the milestones set for all the teams.
My initial approach is a query to the database. Which could be a good approach to build this query?
Is there another way to get it?
Querying the TfS operational store directly is unsupported and can lead to your system being unsupported. You should use the reporting tools instead.
TFS creates a data warehouse and cube where all the information is stored for reporting purpose's. You can just plug Excel into the data warehouse a query tye data that you need. If you want trend analysis you can also query the cube.
http://msdn.microsoft.com/en-us/library/bb649552.aspx
If you have team explorer installed you can also retrieve work items from queries to the operational store through the API. Any query that you can get in TFS you can load into excel.
http://msdn.microsoft.com/en-us/library/ms181675.aspx
I'm a sociology PhD student and I'm trying to use Neo4j to manually build the social network of the political elite in a given country. I say "manually" because I will need to input all the data manually as I come across it in my readings.
For this I would need an interface that allows me to navigate the network, as well as search and edit my database conveniently. Crucially, that would include the capacity to search for node and relationship attributes, and edit the database in real time when in graph visualization mode.
It looks like the default Neo4j admin dashboard only allows you to search by node and relationship numbers, and doesn't allow the editing of the database when in graph visualization mode. Am I right? If so, is there an alternative interface that will allow me to do this? I looked into Neoeclipse but I'm not sure it's the right tool for the job. (I also haven't been able to properly load my database on it)
Thanks in advance for the help!
JB
Which version are you looking at? Neo4j 2.0 is a really convenient UI for what you want to do.
You can easily find by property:
MATCH (user:User {name="Peter"}) return user
or
MATCH (user:User {name="Peter"})-[:KNOWS]->(other) return user,other
And you can store these queries as favorites so you don't have to type them more than once.
And you can explore the graph by double clicking nodes.
For the visualization, if you click once on each node you can see its properties and also configure which property is shown in the graph.
is it possible to create new queries in TFS 2010 based on the result of another query?
For example, one (parent) query selects all work items located under a certain work item (lets say work item with ID=5). And now I want to create other queries, that select all bugs, all tasks etc. from the results of the first query?
There, I only have to change the ID of the "parent" work item once and not in all subsequent queries.
Is this possible in TFS 2010 in combination with VST 2010?
Thanks
Konrad
There is a basic support for what you 're after in the GUI editor for WIQL: try with query of type "Tree of Work Items" - which creates a multi-level structure. There is minimal support to what you can handle in this context, for example it's not possible to pick work items with different criterias from level to level.
On the other hand you can implement a custom tool using the TFS-API. There you should be able to tailor to your needs exhaustively. I can support in such endeavor in case you 're interested.
What you want to do seems to be more of a report than a plain query. I think you should have a look at implementing custom reports.