Prompting the user to make a user-defined Data Flow Diagram (DFD) and outputting the Node names and connections?
6 views (last 30 days)
Show older comments
Alonso Trejo-Mora
on 30 Jun 2017
Answered: Alonso Trejo-Mora
on 2 Jul 2017
Essentially I want to make my program highly dynamic by letting the user say how the nodes connect to eachother. The trend would be left-to-right but can be too complex for pure logical deduction. Here are some diagram examples:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165683/image.jpeg)
The only outputs I need is the node names and the node they point to. I think this could be useful to many people who are making any network-based software, but I have yet to find a good solution. Thanks!
0 Comments
Accepted Answer
Steven Lord
on 30 Jun 2017
Are you familiar with the graph and network algorithm functionality introduced in MATLAB in release R2015b? I think the digraph, addnode, addedge, and plot functions listed on that page will be of interest and use to you.
3 Comments
Steven Lord
on 30 Jun 2017
Out of curiosity, what kind of functionality would you like such a GUI to have?
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!