i am working on a visual editor which allow user create a behavior tree easily.
i want to write this program with c# windows forms application. it will looks like this pic:
i have tried to derive a class named NodeBase
from UserControl
,which combines a line shape,a rectangle shape and a label. it looks like this:
you see, the child2 node covers the child1 node from the line part even if i set the BackColor
of NodeBase
to Transparent
any suggestion on how to implements the first picture would be graceful