No BSD License  

Highlights from
graphtogml.m

5.0

5.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 2.75 KB File ID: #4771

graphtogml.m

by Amos Storkey

 

16 Apr 2004 (Updated 22 Apr 2004)

Version 0.1 A quick program that outputs a graph or network diagram to GML format.

| Watch this File

File Information
Description

Suppose we have a directed graph with affinity matrix EDGES', so that EDGES(A,B)=1 denotes an edge from B to A.

Suppose we have an cell array NAMES of names for each node.

We might even have initial positions POS of each node. Then for filename FNAME

graphtogml(fname, edges, names, pos) outputs the graph in GML.

This has only been tested for use in yEd. It is preliminary: Eventually I intend to enhance it to cope with undirected links, various strengths, link annotations etc and write gmltograph.

http://www.anc.ed.ac.uk/~amos/

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
24 Aug 2007 Fabio Lamanna

Fantastic!!!! i enjoy trying to put also edge labels, and what about to built an adjacency matrix from Yed through .gml file? Thank You!!

Please login to add a comment or rating.
Updates
22 Apr 2004

Bug fix

Tag Activity for this File
Tag Applied By Date/Time
data import Amos Storkey 22 Oct 2008 07:17:57
data export Amos Storkey 22 Oct 2008 07:17:57
graph Amos Storkey 22 Oct 2008 07:17:57
network Amos Storkey 22 Oct 2008 07:17:57
display Amos Storkey 22 Oct 2008 07:17:57
matlab Amos Storkey 22 Oct 2008 07:17:57
gml Amos Storkey 22 Oct 2008 07:17:57
graphml Amos Storkey 22 Oct 2008 07:17:57

Contact us at files@mathworks.com