Click here to Skip to main content
15,664,506 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have adjacency matrix. I want to draw graph from it in c#. Please help me. Thanks all
WiganLatics 8-Mar-15 13:08pm    
If you want to physically draw it, then something like:
1) for each row in matrix, create a UI Object (a label perhaps?)
2) for each row loop through each col and if the cell is a 1 then draw a line between the labels for the relevant indexes (i.e. row r and column c)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900