Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there anyway to have images as the nodes in microsoft glee

i see this post but i can't figure out any way to have a node represented as an image and have the text be a label below the node. Does anyone know if this is possible using Microsoft GLEE?

like image 806
leora Avatar asked Jan 19 '10 04:01

leora


1 Answers

After playing around with Reflector a bit I came to the conclusion that the author of that blog post (and the author of GLEE/MSAGL itself) used a beta/alpha/development version of the software, which had support for images as nodes.
MSAGL uses Bitmaps for loading images and a quick analysis of the GLEE dll's shows that only the Microsoft.Glee.GraphViewerGdi assembly depends on System.Drawing.Bitmap. Besides that, the GraphAttr class would be the most likely place for such a feature and I don't see anything there that could be even remotely (ie. using some weird hack ;)) used for image handling.
Also, notice that the source snippet that the author provided doesn't quite follow the API seen in the version downloadable from MS's site (1.2.0.0).

like image 107
Igor Klimer Avatar answered Oct 04 '22 02:10

Igor Klimer