☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Tree-like Widget in Bokeh

Community Support
arobertson.ee
arobertson.ee

I am still a little new to using Bokeh, but I was wondering if there exists a widget similar to a tree that could be used to display parent-child relationships in the browser window while running a Bokeh server application.

I am trying to build a query construction interface to allow users to enter new conditions to the tree (e.g. (Age > 20) AND (Name = “John” OR Name = “Jane”)). Is there a simple way to add such a feature using Bokeh or would this require some external packages? In either case, could someone please point me towards an example to help me get started with this?

⌁   Link to post
Bryan
Bryan

Hi,

There is nothing currently built into the core library that would provide this. However, Bokeh is extensible, so i would be possible to create a custom widget that does this (probably by wrapping some other existing JavaScript library for a tree-widget). The documentation for extending Bokeh has more information and several examples:

  http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html

Thanks,

Bryan

···

On Mar 27, 2017, at 10:03, arobertson.ee@gmail.com wrote:

I am still a little new to using Bokeh, but I was wondering if there exists a widget similar to a tree that could be used to display parent-child relationships in the browser window while running a Bokeh server application.

I am trying to build a query construction interface to allow users to enter new conditions to the tree (e.g. (Age > 20) AND (Name = "John" OR Name = "Jane")). Is there a simple way to add such a feature using Bokeh or would this require some external packages? In either case, could someone please point me towards an example to help me get started with this?

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/ac307975-6ac4-4d7e-ae0d-de0e0f98dcb6%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled