Install
npm install welshpowell --save-dev
Usage
let color = ; let graph = vertices: 'a' 'b' 'c' edges: 'a' 'b' 'b' 'c'; // returns an array with colors// matching the index of the vertices// passed in.let colors = ; console; // output [0, 1, 0]// 'a' => 0, 'b' => 1, 'c' => 0