Go diagram Setting icons on the Node


I’m developing a workflow solution using GoDiagram and it’s suiting my needs wery well.

One thing it seems I cannot accomplish is to set some side icons on the Base Node image at runtime.
What I’m trying to do is set little icons on the node(rapresenting a workflow state) to give immediate feedback to the user about particular properties that of that state, as the image below shows.

I achieved a partial goal by creating pre-rendered images of the base state with combinations of icons, but that’s really not a practical solution.

Thank in advance for the help provided.

Look at the class DecoratedTextNode in Demo1. If you want the icons on top, just .Add them instead of .InsertBefore.

(note: Demo1 is NodeLinkDemo in newer releases)