KarrLab/SynNetGen

View on GitHub
lib/graphviz4matlab/demos/graphViz4MatlabDEMO1.m

Summary

Maintainability
Test Coverage
load smallExample 
nodeColors = {'g','b','r','c'}; % if too few specified, it will cycle through
edgeColors = {'Tom', 'Bill', 'r'
              'Bill' 'all' , 'g'};

graphViz4Matlab('-adjMat',adj,'-nodeLabels',names,'-layout',Treelayout,'-nodeColors',nodeColors,'-edgeColors', edgeColors);