How to make the MSAGL graph nodes look fancy? RRS feed

  • Question

  • I just bought the MSAGL and I am looking how to design the nodes. I would like to make the nodes look fancy like Windows 7 buttons or like those: http://www.ndepend.com/Doc_VS_Arch.aspx 

    I did not find samples in help. After hours searching and browsing I did not find any sample from internet either. Yes there is sample how to set the shape and fillcolor, but how can I define different styles for node and edges with 3d look and gradients.

    Can You give some example code of designing fancy nodes and edges?

    Friday, July 8, 2011 6:41 AM


  • I don't have such a sample, sorry. The closest to what you want sample is NodesWithImages. It is one of the distribution samples. It shows how to override the default node rendering and draw images on the nodes. Maybe it should be your starting point. 



    Lev Nachmanson
    Saturday, July 9, 2011 3:06 AM