Thanks for your help.
But I also have some question. So I send my code to you. I want to draw the "Ari_FlowNodeSymbol" with "the input node" of custom symbol, and the "Ari_ProcessSymbol" with "the output node" of custom symbol, and the "CustomOrthogonalLink" with "the link line" of custom symbol in my flow graphic automatically. How do I draw the flow graphic?
The other question is the video link of you provided isn't valid. I download the file, but I don't open it because it isn't a valid compressed volume file. So please you send a valid video to me.
the design myself symbol by symbol designer? Please tell me step by step. How do I write code in program to draw input node, output node and link them by link line? I want to write code in program realizing a custom a flow graphic. Please tell me step by step.
>Hi Kawashima,
Thanks for the update.
Creating custom flow graphics through codeYou can create custom flow graphics (like in the attachment ) through code. Please refer the steps below.
Step by step procedure for creating OutputNode through code1) Create group class Group1.
2) Create and add RoundRect , Ellipse and Line shapes to Group1.
3) Finally add Group1 to a diagram.
The following code snippet is used to create OutputNode.
[C#]
// Create Group1
Group g1 = new Group();
// Add Group1 to diagram
diagram1.Model.AppendChild(g1);
// Create and add RoundRect1 to Group1
Syncfusion.Windows.Forms.Diagram.RoundRect r1 = new Syncfusion.Windows.Forms.Diagram.RoundRect(10, 300, 45, 50, MeasureUnits.Pixel);
r1.FillStyle.Type = Syncfusion.Windows.Forms.Diagram.FillStyleType.Hatch;
r1.FillStyle.HatchBrushStyle = System.Drawing.Drawing2D.HatchStyle.Percent20;
g1.AppendChild(r1);
// Create and add RoundRect2 to Group1
Syncfusion.Windows.Forms.Diagram.RoundRect r2 = new Syncfusion.Windows.Forms.Diagram.RoundRect(15, 305, 35, 39, MeasureUnits.Pixel);
g1.AppendChild(r2);
// Create and add Ellipse1 to Group1
Syncfusion.Windows.Forms.Diagram.Ellipse e1 = new Ellipse(25, 310, 15, 15, MeasureUnits.Pixel);
g1.AppendChild(e1);
// Create and add Ellipse2 to Group1
Syncfusion.Windows.Forms.Diagram.Ellipse e2 = new Ellipse(25, 325, 15, 15, MeasureUnits.Pixel);
g1.AppendChild(e2);
// Create and add Line to Group1
Syncfusion.Windows.Forms.Diagram.Line l1 = new Line(new PointF(12,323),new PointF(50,323));
g1.AppendChild(l1);
Sample linkPlease refer the sample below that demonstrates on adding custom flow graphics through code.
http://websamples.syncfusion.com/samples/Diagram.Windows/F70765/Code/main.htm Video link on using Symbol designer utilityPlease refer the video link in the below location on creating custom symbol step by step using Symbol designer utility.
http://www.syncfusion.com/Support/user/uploads/Utility_Video_477de84.zipPlease also refer the Online documentation link on using Symbol Designer in the below location.
http://www2.syncfusion.com/ug_61/diagram/SymbolDesigner.htmlPlease let me know if you have any further questions.
Regards,
Jaya
Graphics Noes.zip