jaal icon indicating copy to clipboard operation
jaal copied to clipboard

[Feature Request] Passing arguments to Dash framework

Open Famondir opened this issue 1 year ago • 0 comments

Hi there, for me it would be handy being able to pass arguments to the Dash framework during development. Thus I could see if my network will look as I intend to after filtering and color coding nodes and edges as I would do in a live presentation step by step.

Also it would be handy to access variables defined in the outer environment or being able to passing it in the function call as well.

For example I color code the edges by edge title and filter for specific titles: image

Instead of title in ['side-nav', 'header', 'content'] it would be simple to do title in @single_place_links.

Maybe with a call like this: Jaal(edge_df, node_df).plot(directed=True, dash_opts={'color_edges' : 'title', 'filter_edges' : 'title in @single_place_links'}, args = single_place_links)

Sincerely Simon

Famondir avatar Nov 07 '23 12:11 Famondir