Create a graph based from a char** array

How do i easily create a graph from an 2d char array.

Each element in the 2d array should be one node, which contain its char value, and know its neighbors. Having my map in a 2d char array should make things easier.. but how can graph be created easily..?

Topic archived. No new replies allowed.