MATLAB - GraphViz interface

版本 1.0.0.0 (15.6 KB) 作者: Leon Peshkin
Interface GraphViz graph layout and MATLAB user interface power.
12.0K 次下载
更新时间 2004/12/6

查看许可证

Feb 2004 Massachusetts Institute of Technology, AI Lab
MATLAB <-> GraphViz by Dr. Leon Peshkin: pesha @ ai.mit.edu | http://www.csail.mit.edu/~pesha

this is a README file for `ad hoc' MATLAB package created to interface AT&T GraphViz graph layout and MathWorks MATLAB user Interface powers. Please make sure you have both MATLAB and GraphViz properly installed on your system. The package works on Unix and even on Windows. Use at your own risk.

README - this file
graph_to_dot.m - Creates a GraphViz formated file from a graph given by an adjacency matrix.
dot_to_graph.m - Extracts an adjacency matrix, node labels, and layout from a GraphViz file.
graph_draw.m - Draws a graph in MATLAB with a given layout
make_layout.m - used to do a lame layout in case no layout is fed to graph_draw
draw_dot.m - a sample code illustrating use of package functions.
draws a graph defined by adjacency matrix, by
-first converting it to a GraphViz file (graph_to_dot)
-then calling NEATO of GraphViz to do a layout
-then importing layout file back into Matlab (dot_to_graph)
-finally calling graph_draw to display the layout
sample_click.m - an auxiliary sample code which allows to right-mouse-click on the nodes of
a graph to call a dummy function currently just printing that node's label
my_setdiff.m - my version of setdiff() which works much faster

引用格式

Leon Peshkin (2024). MATLAB - GraphViz interface (https://www.mathworks.com/matlabcentral/fileexchange/4518-matlab-graphviz-interface), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Directed Graphs 的更多信息
致谢

启发作品: MATLAB GraphViz Layout importer

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

arc lables; other minor changes
like isolated nodes.