Clickable edges of matlab graph
6 次查看(过去 30 天)
显示 更早的评论
Hello,
I am interested in adding interactivity to a directed graph. I would like the user to be able to click on an edge on a plotted graph, which will be used to call functions with the two nodes that the edge connects as inputs. However, I am unable to find any part of the graph or plot properties that has X and Y coordinate data for the edges, which I would compare against the coordinates generated from the user click. Is this something that exists?
Thanks.
4 个评论
Christine Tobler
2023-2-27
Unfortunately there isn't any interface to get the edge coordinates of a GraphPlot object. I have made a note of your need for such a feature.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!