Dynamically update edge names#511
Conversation
|
Hi @minhsueh and @esoteric-ephemera, if this change fine ? If yes could be merged 😄 |
|
Hi @minhsueh I am confused, how is suppose to work then ? I think it will again overwrite whatever edge_weight_name is set during creation of molecule object using the edge_weight_name arg currently added to the function with whatever is set in Now , For example in my other PR, Where is |
Nevermind, I got it working seems. Maybe have a look and let me know if this is fine now. |
|
Thanks! @naik-aakash As you’ve noticed, we use the This allows users to modify the |
Thanks, took me some while to understand. Hope now the changes don't break any of the existing behavior 😅 |
Changes
Remove the hardcoded bond-order hover text in the molecule scene, and update edge names dynamically based on the set edge_weight_name property of the molecule graph when it is set. If not set, then only use bond order as hover text .