GUI enhancement to show only query results as text in a tree?
Thursday, 21 February 2013 · 3 messages · last reply 22 Feb 2013
AG
Amanda Galtman21 Feb 2013 14:05 #
Hi,
The BaseX GUI is very nice for interactively tweaking a query or exploring my data set. However, one thing I wish I could do with the GUI is see query results as text in a tree with expandable/collapsible nodes. An example of what I mean is in the right pane of this Qizx screen capture: http://www.axyana.com/qizxopen/_distrib/docs/manual/qizxstudio.html#d0e4472 The tree in the screen capture makes it easy to distinguish between adjacent result items, and the collapsibility of result items makes it easier to decide when you want to browse the results at a high level or dig into a specific result.
By contrast, the BaseX GUI's text view shows all the text of the query results, but they run together. The folder visualization has expandable/collapsible nodes, but because it shows the query-result nodes in the context of the entire database, you might have to expand a lot of nodes to discover where the query-result nodes are. While it can be useful to see the query-result nodes in context, I often want to see only the results themselves; and if I decide I need more context, I tweak my query to return more context.
Would it be possible in a future release of BaseX to get a text tree-view of just the query results? Better yet, is it already available but I don't know about it?
Thanks,
Amanda
CG
Christian Grün22 Feb 2013 11:52 #
Hi Amanda,
thanks for your mail. We have thought about adding new visualizations to BaseX now and then. As our focus has more and more been shifted to database-centric features, I’m afraid that the introduction of new visualization will need to have lower priority, unless we find some open source developers who are interested in contributing to the project, or unless there are no commercial use cases that require such extensions.
If all your results are nodes of the currently opened database, you may instead use the filter button, which will only visualize the resulting nodes in all visualizations, and use XQuery or the provided buttons to do more refinements. However, this approach differs a little from the solutions provided in Qizx or oXygen.
Hope this helps,
Christian
Quoted text · Amanda Galtman · 37 lines
On Thu, Feb 21, 2013 at 2:05 PM, Amanda Galtman <Amanda.Galtman at mathworks.com> wrote: > Hi, > > The BaseX GUI is very nice for interactively tweaking a query or exploring > my data set. However, one thing I wish I could do with the GUI is see query > results as text in a tree with expandable/collapsible nodes. An example of > what I mean is in the right pane of this Qizx screen capture: > > http://www.axyana.com/qizxopen/_distrib/docs/manual/qizxstudio.html#d0e4472 > > The tree in the screen capture makes it easy to distinguish between adjacent > result items, and the collapsibility of result items makes it easier to > decide when you want to browse the results at a high level or dig into a > specific result. > > By contrast, the BaseX GUI’s text view shows all the text of the query > results, but they run together. The folder visualization has > expandable/collapsible nodes, but because it shows the query-result nodes in > the context of the entire database, you might have to expand a lot of nodes > to discover where the query-result nodes are. While it can be useful to see > the query-result nodes in context, I often want to see only the results > themselves; and if I decide I need more context, I tweak my query to return > more context. > > Would it be possible in a future release of BaseX to get a text tree-view of > just the query results? Better yet, is it already available but I don’t know > about it? > > Thanks, > Amanda > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
AG
Amanda Galtman22 Feb 2013 13:53 #
Christian,
Thanks a lot for your reply. I'll experiment with filtering. I think the Options > Realtime Filtering setting may be the piece I was missing. With that setting enabled, I can use the folder visualization to get the tree view and the text visualization to see the markup plus text content.
I understand about priorities, and thanks for setting my expectations.
Regards,
Amanda
Quoted text · Christian Grün · 48 lines
-----Original Message----- From: Christian Grün [mailto:christian.gruen at gmail.com] Sent: Friday, February 22, 2013 5:53 AM To: Amanda Galtman Cc: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] GUI enhancement to show only query results as text in a tree? Hi Amanda, thanks for your mail. We have thought about adding new visualizations to BaseX now and then. As our focus has more and more been shifted to database-centric features, I'm afraid that the introduction of new visualization will need to have lower priority, unless we find some open source developers who are interested in contributing to the project, or unless there are no commercial use cases that require such extensions. If all your results are nodes of the currently opened database, you may instead use the filter button, which will only visualize the resulting nodes in all visualizations, and use XQuery or the provided buttons to do more refinements. However, this approach differs a little from the solutions provided in Qizx or oXygen. Hope this helps, Christian On Thu, Feb 21, 2013 at 2:05 PM, Amanda Galtman <Amanda.Galtman at mathworks.com> wrote: > Hi, > > The BaseX GUI is very nice for interactively tweaking a query or > exploring my data set. However, one thing I wish I could do with the > GUI is see query results as text in a tree with expandable/collapsible > nodes. An example of what I mean is in the right pane of this Qizx screen capture: > > http://www.axyana.com/qizxopen/_distrib/docs/manual/qizxstudio.html#d0 > e4472 > > The tree in the screen capture makes it easy to distinguish between > adjacent result items, and the collapsibility of result items makes it > easier to decide when you want to browse the results at a high level > or dig into a specific result. > > By contrast, the BaseX GUI's text view shows all the text of the query > results, but they run together. The folder visualization has > expandable/collapsible nodes, but because it shows the query-result > nodes in the context of the entire database, you might have to expand > a lot of nodes to discover where the query-result nodes are. While it > can be useful to see the query-result nodes in context, I often want > to see only the results themselves; and if I decide I need more > context, I tweak my query to return more context. > > Would it be possible in a future release of BaseX to get a text > tree-view of just the query results? Better yet, is it already > available but I don't know about it? > > Thanks, > Amanda > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
Written for BaseX 7.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery