I have been playing around with the FlowCharter sample and tried to change the AnchorPoints of the "Alternative" node so their MarkStyles are rectangles and their color is green. Specifically, I changed the constructor code from this:
New AnchorPattern(New AnchorPoint() _ { _ New AnchorPoint(50, 0, True, True, MarkStyle.Circle, defAnch), _ New AnchorPoint(0, 100, True, True, MarkStyle.Circle, defAnch), _ New AnchorPoint(50, 100, True, True, MarkStyle.Circle, defAnch), _ New AnchorPoint(100, 100, True, True, MarkStyle.Circle, defAnch) _ })
to this:
New AnchorPattern(New AnchorPoint() _ { _ New AnchorPoint(50, 0, True, True, MarkStyle.Rectangle, Color.Green), _ New AnchorPoint(0, 100, True, True, MarkStyle.Rectangle, Color.Green), _ New AnchorPoint(50, 100, True, True, MarkStyle.Rectangle, Color.Green), _ New AnchorPoint(100, 100, True, True, MarkStyle.Rectangle, Color.Green) _ }
However, when I run the program and drag an Alternative shape unto the diagram, it still shows red circles for the AnchorPoints. On the other hand, I see that the AnchorPoints sample progam DOES show various AnchorPoints correctly. I cannot figure out why the code works there but not the FlowCharter app.
I am running trial version 5.3.3 of FlowChart.NET.
Thanks for your help in solving the mystery.
|