DGGAM - Draw Graph Get Adjacency Matrix

Version (8.44 KB) by Ondrej
Draw any graph and export it as fig and save its adjacency matrix
Updated 15 Sep 2014

View License

A simple program for drawing graphs and saving their adjacency matrices. The graph can be shown either labelled with numbers or without labels.
One click selects one node. The second click creates the link between the nodes.
Right click on a node deletes the node.
Right click on an edge deletes the edge.

Tested on Matlab 2009b and 2011.

Please leave comments and ideas for improvements.

Cite As

Ondrej (2024). DGGAM - Draw Graph Get Adjacency Matrix (https://www.mathworks.com/matlabcentral/fileexchange/47818-dggam-draw-graph-get-adjacency-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Discrete Data Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

node deletion added

new funktionalities (node movement, deleting edges) + code optimization + slight graphics change