Can you post the XML you are saving?
I think if you look at the GraphML.cs code in OrgCharter, you’ll find code that meets your requirements. Note OrgCharter doesn’t actually have any UI to see the pen & brush settings, but the support is there to save such changes if you “save as” type .graphml.
Yes, you can adapt the WriteShapeData and ReadShapeData methods that are in the GraphML implementation for your own use. To simplify things, don’t use the WriteData implementation, since you can just write/read those attributes directly in your XML elements, rather than write them as nested elements as the GraphML specification requires.
Also, for letting users edit the colors and pen properties, you could try using the ColorControl and PenControl controls that are in Northwoods.Go.Draw.dll. These are still being worked on for the next release, but you can use them now (v2.6.2) if you want.
There’s a sample of that in Demo1. Run the program and hit F4.
I want to send a module that I have made for achieving this functionality.
but here in this forum there is not a facility for uploading a zip folder.
can u provide forum member(Technical Support) mail ID so that I can send it to u.
Send to GoDiagram at this domain.