AD
Administrator
Syncfusion Team
April 4, 2005 03:13 PM UTC
Hi Dustin,
The trouble that you are having with switching the Symbol FillColor is very likely an issue that is specific to your application. I tested this scenario by cycling the Symbol FillColor, both programmatically and using the PropertyEditor, and it appears to work fine. Can you send me a small sample that shows the implementation that you have used?
As for performance, it is true that Essential Diagram performance takes a hit when the symbol count becomes very high. We have a high priority QA report on this issue, and are looking into optimization techniques. We will definitely address this issue at the earliest possible.
Reducing the number of symbols will definitely improve performance. To hide the ports on a Symbol, iterate through the Model''s collection of Nodes, test whether a particular Node is a Symbol, and if true, access the Symbol''s Ports collection and set the Port.Visible property depending on whether you want the port to be visible. As to whether hiding Ports and Link end point decorators will enhance performance, I am afraid this is not something that we have tested here, but reducing the Port count or even hiding a few ports is bound to increase performance as this reduces the amount of drawing that each Symbol is required to perform when it renders itself. I would very much appreciate it if you could post your findings on this issue.
Thanks,
Prakash Surendra
Syncfusion Inc.,