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

799 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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).