• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

graphviz4matlab/graphviz4matlab: Matlab interface to Graphviz graph layout packa ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

graphviz4matlab/graphviz4matlab

开源软件地址(OpenSource Url):

https://github.com/graphviz4matlab/graphviz4matlab

开源编程语言(OpenSource Language):

MATLAB 100.0%

开源软件介绍(OpenSource Introduction):

graphviz4matlab

Matlab interface to Graphviz graph layout package. Allows interactive editing of the resulting graphs!

GraphViz4Matlab is a MATLAB software package to display directed and undirected graphs within a figure window, written by Matt Dunham and Kevin Murphy (with contributions from Leon Peshkin and Dan Eaton). A number of layout algorithms are provided, most requiring that the free graphViz software be installed. Nodes can be interactively moved around and resized with the mouse, and layouts can be changed on the fly. This is quite similar to Matlab's view method for the biograph class in the bioinformatics toolbox. Requires Matlab version 7.6 (2008a) or newer.

Installation:

1.Install graphviz (version 2.2 or newer).

2.Add the Graphviz2.x\bin directory to your windows/linux path. On windows systems this is usually C:\Program Files\GraphViz2.x\bin. You can use the included addtosystempathGV.m function to do this within matlab.

3.Download graphViz4Matlab, unzip and add the package to your matlab path with, e.g. addpath(genpath('C:\graphViz4Matlab'))

4.Test the system: type graphViz4MatlabDEMO1 or just graphViz4Matlab.

Note, if you are running windows, the newest version now automatically adds graphViz to your system path, and adds all of its subdirectories to the matlab path when the main graphViz4Matlab.m file is run.

Usage: The simplest use case is drawNetwork(adj), where adj is an adjacency matrix. When the graph is displayed, you can click on the icons at the top to change the layout algorithm. You can also drag nodes around to manually refine the layout. Draw a mouse box around multiple nodes to move them simultaneously. For more options, type help graphViz4Matlab. You can see screenshots of the various layouts here and a list of optional input parameters here.

It is now possible to save and restore node positions programmatically. See wiki for details.

Other features: This package also contains a very simple function, adj2pajek2.m, to convert an adjacency matrix to the pajek file format, based on a similar function originally written by Gergana Bounova. (Pajek is a windows-based graph layout program which has a GUI, and might be preferable to graphviz for some users, especially ones without Matlab 7.6.)

Older Versions: This is a new version of the Graphlayout package stored on MATLAB Central.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap