Clear Filters
Clear Filters

How to replace digraph nodes with custom graphical objects and make edges elbow connectors?

1 view (last 30 days)
Hello everyone,
I would like to use digraphs to store and plot fault trees, which are graphical representations of Boolean logic as directed, acyclic graphs (see e.g. NASA's Fault Tree Handbook with Aerospace Applications). Storing the information is simple (thanks, MathWorks!) but getting the plot right causes me trouble.
Instead of normal point forms for nodes, I would like to use a custom uicontrol or an additional axes object for drawing event geometry. Is the plot function flexible enough to let me supply the graphical representation of a node depending on the node's data? And how could that be achieved? The some holds true for edges, only that I would be fine with just replacing the curved connectors with elbow connectors. Does anybody know how that's possible?
Thank you for posting your ideas!
Cheers Alex

Accepted Answer

Walter Roberson
Walter Roberson on 27 Jun 2016
No, the graph plot functions are not flexible enough for that.

More Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!