Clickable edges of matlab graph

3 ビュー (過去 30 日間)
Lowell Bartlett
Lowell Bartlett 2023 年 2 月 22 日
コメント済み: Lowell Bartlett 2023 年 2 月 27 日
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
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.
Lowell Bartlett
Lowell Bartlett 2023 年 2 月 27 日
Thanks for the response and the consideration!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by