eric’s extremeboredom

adventures into and out of extreme boredom.

gMeshwork Network Map

So I ported all the network map code from vb.net to C# and restructured it so it can be used cross-platform. It’s not completly done yet but I managed to get initial rendering to work!

The basic idea now is that all the painting methods reside in NetworkMapCommon which is then inherited by a class that gets a System.Drawing.Graphics object (using control.CreateGraphics() in SWF, libgdi with Gtk#, etc.) and calls the base methods with it. This will allow for a network map on all platforms (Windows, Gtk, PocketPC) using the same code base.

[gMeshwork Network Map Screenshot]

As you can see pretty much all the colors are totally wrong in part due to an undocumented change in Gtk#, but I’m confident I’ll have that figured out soon.

I’m also having a strange yet unrelated problem with the XmlSerializer which is producing a technically different but visually identical xml string than the .NET Framework, causing signature verification to fail. Looks like I’ll have to write up a test case and figure out exactly what’s causing the problem.


Categorized as Technology/Software Development

Leave a Reply