Please Help, Really need help :(
I must develop an application that read a txt file in order to draw the graph and color it, i just made the Adjascence Matrix and the table of color for each node, i'm stuck in the graphic part, i can't draw the graphic (color it neither) so :
if it's possible to help me draw the graph and color it, i'm new with graphic interface so please help :)
PS : i can insert with the txt file of the graph, another txt file with the position of the nodes, but its an alternative solution
Here an exemple for my txt file :
// (p beginnig, 7 node and 22 edges)
p edge 7 22
e 1 2
e 1 3
e 1 4
e 1 5
e 2 1
e 2 5
e 2 6
e 3 1
e 3 4
e 3 7
e 4 1
e 4 3
e 4 5
e 5 1
e 5 2
e 5 4
e 5 6
e 6 2
e 6 5
e 6 7
e 7 3
e 7 6
//
Screenshots :
http://img11.hostingpics.net/pics/780808Sanstitre.png
http://img11.hostingpics.net/pics/949061Sanstitre.png
The left part is for the graph drawing and coloring =)
the last table is the color table, its a coloring with only for color in fact
If u need my project folder i can send it to anyone how can help me, i need it within 7 days, it needs only the graph drawing
i hope you can help me =)
Thx in advance and sorry for my english :)