Graph: Node Coloring with Johnson Algorithm

Coloring the nodes of a Matlab graph object with the Johnson algorithm
Updated 10 Apr 2018

View License

Input: a Matlab graph-object
Output: a vector containing a valid coloring

Cite As

Stephan (2024). Graph: Node Coloring with Johnson Algorithm (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Directed Graphs 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