You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I was wondering if there is a way to modify the context menu shown when clicking on nodes/edges.
Currently I managed doing it when using some naive d3 manipulation: d3.select("#d3_layout_phylotree_context_menu").append('li').text('test').attr('id','testid')
However, in this way every time the menu is hidden the additions disappear as well and I need to re apply them every time the menu becomes available.
Help will be much appreciated.
Best
Tal
The text was updated successfully, but these errors were encountered:
The interface isn't the most flexible (i.e., you are not allowed to directly modify DOM objects in callbacks), but it allows the module to control when updates happen and what takes precedence.
Hi
I was wondering if there is a way to modify the context menu shown when clicking on nodes/edges.
Currently I managed doing it when using some naive d3 manipulation:
d3.select("#d3_layout_phylotree_context_menu").append('li').text('test').attr('id','testid')
However, in this way every time the menu is hidden the additions disappear as well and I need to re apply them every time the menu becomes available.
Help will be much appreciated.
Best
Tal
The text was updated successfully, but these errors were encountered: