microsoft/automatic-graph-layout

How to paint one node with multiple colors in msagl

Urielov opened this issue · 4 comments

How to paint one node with multiple colors in msagl

Can you please elaborate the question, maybe give an example of what your drawing of a node would look like?

Hi.
That its what i need,
quastion
Thank you very much.

I see. It can be achieved by overriding the default rendering of a node and using DrawingNode.DrawNodeDelegate. Please see how it is done in https://github.com/microsoft/automatic-graph-layout/tree/master/GraphLayout/Samples/NodesWithImages.

It works! Thank you