MATLAB GraphViz Layout importer

버전 1.3.0.0 (14.6 KB) 작성자: Bjorn Wielens
GraphViz DOT file importer. Features include colours (HTML/X11/RGB/HSV), shapes, line styles etc.
다운로드 수: 2.3K
업데이트 날짜: 2009/7/15

라이선스 보기

This code takes a GraphViz ready DOT file, passes it to Graphviz (either using dot (fallback to mwdot if not present) or a custom layout engine you specify.) The output is then parsed and drawn in an axes specified by you, along with returning object handles and information about the graph as an adjacency matrix.

Please see the comments at the beginning of the file for more information on usage/limitations.

It has been quite extensively tested, and should work for just about any graph you can throw at it. Furthermore, custom node shapes and arrows can be easily added.

While it can work with the built-in (and unsupported) mwdot function, it is recommended you install the full GraphViz suite, available at http://graphviz.org/ , along with extensive documentation and samples.

Credit goes to Jonas Ballani for his Bezier function which is used to draw the splines.
http://matlabdb.mathematik.uni-stuttgart.de/download.jsp?MC_ID=7&SC_ID=8&MP_ID=480

Also, the inspiration came from Leon Peshkin's GraphViz interface, which (unfortunately) didn't quite cut it for our needs, and required me to write my own.

If you use this in your software, I would greatly appreciate a credit in your software's about page; I've put a fair amount of time in to this project, and wish to spread the word that others may benefit from it. Questions, comments, and suggestions for improvement are welcome.

인용 양식

Bjorn Wielens (2024). MATLAB GraphViz Layout importer (https://www.mathworks.com/matlabcentral/fileexchange/24652-matlab-graphviz-layout-importer), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Directed Graphs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

-Major speed optimizations.
- Realtime mode removed.
- 2 modes of operation
- Resolution of spline option.
- No need for x11colours.mat
- Removed temp file use.

1.1.0.0

-Fixed bug when using mcircle node type.
-Added autoSize and drawMode arguments.

1.0.0.0