We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to draw a flow graphic? urgently for the answer

Thread ID:

Created:

Updated:

Platform:

Replies:

58690 Mar 26,2007 09:59 PM May 30,2007 09:46 AM Windows Forms 36
loading
Tags: Diagram
sun
Asked On March 26, 2007 09:59 PM

I am using Syncfusion evaluation version, curently I am evaluating syncfusion diagram. I want to draw the flow graphic with the attachment file by diagram. I want to draw it with the attachment file by automatic layout. I try many times to do, but I don't success to draw it. I want each Orthogonal line not across, mean each Orthogonal line with itself routing in its all routing track. So I am highly appreaciting if any one give some sample application and help me to draw it.

Thanks,

FlowNodes.zip

Ramya R [Syncfusion]
Replied On March 27, 2007 12:39 PM

Hi Kawashima,

Thanks for your interest in Essential Diagram.

If your intention is to create a layout using the data from mdb database then it can be done as shown in the OrgLayout sample (Syncfusion\Essential Studio\4.4.0.51\Windows\Diagram.Windows\Samples\In Depth\OrgLayout)which ships with our Essential Diagram ProductPackage.

In this sample, an organizational chart is created and displayed using the employee data sourced from an Access database. And also in this sample a custom LayoutManager is used to lay out the diagram nodes.

With regard to the condition "Orthogonal line not across, mean each Orthogonal line with itself routing in its all routing track" , kindly refer the following forum,
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=58643
in which the update for this query is provided.

Let me know if I am wrong in getting your requirement.

Thanks & Regards,
Ramya.

sun
Replied On March 27, 2007 08:00 PM

Thanks,
I know your mean. But I draw the flow graphic with few nodes data is layout rightly. I draw the flow graphic with the attachment file large nodes data isn't layout rightly. It displays each Orthogonal line acrossing on having leaf nodes. new question when use the syncfusion digram. I try to move the leaf node location for each Orthogonal line not across, but I don't success to draw it with some times. So I think asking some help. Could you give some sample application and help me to draw it with my provided attachment file data? I am highly appreaciting for your help.


Thanks for your reply.

Kawashima,

FlowNodes1.zip

J.Nagarajan [Syncfusion]
Replied On March 29, 2007 05:56 PM

Hi Kawashima,

Sorry for the inconvenience caused. You can load the symbols to the diagram using FlowNodes data sourced from an Access database.

private Hashtable ReadEmployeeDataFromDatabase()
{
Hashtable htemployees = new Hashtable();

string currentpath = Application.ExecutablePath;
string datasrcpath = currentpath.Substring(0,currentpath.IndexOf("bin")) + "data\\FlowNodes3.mdb";
string connectionstring = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + datasrcpath + ";";
OleDbConnection orgdbconnection = new OleDbConnection(connectionstring);

string orgdbselectquery = "SELECT * FROM FlowNodes";
OleDbCommand orgdbcommand = new OleDbCommand(orgdbselectquery, orgdbconnection);

orgdbconnection.Open();

OleDbDataReader orgdbreader = orgdbcommand.ExecuteReader();
while(orgdbreader.Read())
{
object[] employeedata = new object[3];
int count = orgdbreader.GetValues(employeedata);
Employee emply = new Employee();
emply.EmployeeID = employeedata[0].ToString();
emply.EmployeeName = (string)employeedata[1];
if(count == 3)
emply.ManagerID = employeedata[2].ToString();
htemployees.Add(emply.EmployeeID, emply);
}

orgdbreader.Close();

orgdbcommand.Connection.Close();

return htemployees;
}

I have attached the sample for your reference. This sample demonstrates the use of an ADO.NET datareader to interface with the FlowNodes database.

http://websamples.syncfusion.com/samples/Diagram.Windows/F58690/main.htm

I hope this will meet your requirement. Please provide a sample or modify this sample if this not meets your requirement.

Thanks for using Syncfusion product.

Regards,
Nagaraj

sun
Replied On March 29, 2007 09:10 PM

Hi Nagaraj,
I want to draw the flow graphic with the attachment file by diagram. My flow graphic isn't tree layout, it has some input node and output node. Each input node and output node may has some children node. The IsInputNode field of the node is true if the node is input node, otherwise it is false. I want to draw input node on the top of diagram graphic and output node on the bottom of diagram graphic. I want to draw it with the attachment file by automatic layout. I try many times to do, but I don't success to draw it. I want each Orthogonal line not across, mean each Orthogonal line with itself routing in its all routing track. So I think asking some help. Could you give some sample application and help me to draw it with my provided attachment file data? I am highly appreaciting for your help.

Tip: The attachment has three files, two file is error layout graphic file about input node error layout and output node error layout, one file is the data source for drawing the flow graphic.

Thanks,

sun
Replied On March 29, 2007 09:31 PM

Hi Nagaraj,
I want to send the attachment file to you, but it occurs some error on with the attachment file. So I explain that the data source file and error layout graphic file is my sended attachment file ago.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=58643
The error layout graphic file is 'flowgraphic.zip' and the data source file is 'FlowNodes0.zip'.

Thanks,

J.Nagarajan [Syncfusion]
Replied On April 2, 2007 01:33 PM

Hi Kawashima,

Please follow up the follwoing Forum thread

http://www.syncfusion.com/support/forums/message.aspx?&MessageID=58643

Thanks,
Nagaraj

sun
Replied On April 2, 2007 10:43 PM

Hi Nagaraj,
My Sample is the attachment file to you, it occurs some error on layout the data source nodes. Could you modify my sample with the needed features? I am highly appreaciting for your help.

Thanks,

error_layout_graphic13.zip

J.Nagarajan [Syncfusion]
Replied On April 3, 2007 08:20 PM

Hi Kawashima,

Thank you for your sample and for being patience.

We are currently analyzing your application in a detailed manner for the cause of this issue. We will trace out the reason for this issue and update you the exact details at the earliest. Sorry for any inconvenience caused.

Have a nice day.

Thanks,
Nagaraj

sun
Replied On April 4, 2007 09:13 PM

Hi,
I will wait for your help. Please send me if you finish the error question.

Thanks,
kawashima

J.Nagarajan [Syncfusion]
Replied On April 5, 2007 08:23 PM

Hi Kawashima,

Kindly accept my sincere apologies for this delay. Currently we are very busy in v.5 release. I have modified the default line routing by customizing OrthogonalLine class.

MyLink ortholink = new MyLink(subflownodesymbol.CenterPort.Location, CompassHeading.South,
subflownodesymbol.CenterPort.Location, CompassHeading.North);
LinkCmd linkCmd = new LinkCmd();
ortholink.EndPoints.FirstEndPointDecorator = new EndPointDecorator(EndPointVisuals.Diamond);
ortholink.EndPoints.LastEndPointDecorator = new EndPointDecorator(EndPointVisuals.ClosedArrow);
linkCmd.Link = ortholink;
this.Diagram.Controller.ExecuteCommand(linkCmd);

I have attached the sample that demonstrates this completely. You can download the sample from the following page.

http://websamples.syncfusion.com/samples/Diagram.Windows/FlowGraphicsModified/main.htm

Please refer to the sample and let me know if you have any questions.

Thanks,
Nagaraj

sun
Replied On April 19, 2007 11:34 PM

Hi Nagaraj,
Kindly accept my sincere apologies for this delay. I find some layout error in your sample. You can find the layout error if you press the "Realtime Run" button in your sample HMI. I want to draw the flow graphic with the realtime label value on the link line. So you can the layout error when you press the "Realtime Run" button in your sample HMI. The error layout graphic file is "error_layout.GIF" in the my sent attachment file. I am highly appreaciting for your help.

Thanks,

Graphics Noes.zip

J.Nagarajan [Syncfusion]
Replied On April 20, 2007 07:25 PM

Hi Kawashima,

Thank you for being patience.

We will analyze your issue in detail for the cause, solution and let you know the complete details on or before on Monday ( 27… ). Sorry for any inconvenience caused.

Have a nice day

Thanks,
Nagaraj

J.Nagarajan [Syncfusion]
Replied On April 23, 2007 08:12 PM

Hi Kawashima,

Sorry for the delay in getting back to you. I have modified your sample and the links are prevented from overlapping. Please refer to the attached sample. You can download the sample from the following page.

http://websamples.syncfusion.com/samples/Diagram.Windows/GraphicsNodesModified/main.htm

Please refer to the sample and let me know if you have any questions.

Thanks,
Nagaraj

sun
Replied On April 23, 2007 09:20 PM

Hi Nagaraj,
Thank you for your help, but your modified sample isn't my mean. I want to draw the flow graphic with my data like your sample 'OrgLayout Sample'. Its LayoutManager is automatic by UpdateLayout method and PositionMember method of the OrgChartManager. I want to write the LayoutManager myself, but I am unsuccessful. So I think you can help me. My idea is said beforetime.(I find some layout error in your sample. You can find the layout error if you press the "Realtime Run" button in your sample HMI. I want to draw the flow graphic with the realtime label value on the link line. So you can the layout error when you press the "Realtime Run" button in your sample HMI. The error layout graphic file is "error_layout.GIF" in the my sent attachment file.) I am highly appreaciting for your help.

Thanks,

GraphicsNodes.zip

sun
Replied On April 26, 2007 09:03 PM

Hi Nagaraj,

I have write a document regarding this issue. Please refer to this document and give me help as soon as.
Can you help me? I am highly appreaciting for your help.

Thanks,
kawashima

document6.zip

J.Nagarajan [Syncfusion]
Replied On April 28, 2007 07:45 PM

Hi Kawashima,

Thanks for your continied interest in Syncfusion product.

I have modified your sample and the orthogonal links had drawn in different and separate line routing. Please refer to the attached sample and let me know if you have any questions.

Thanks,
Nagaraj

http://websamples.syncfusion.com/samples/Diagram.Windows/GraphicsNodes/main.htm

sun
Replied On April 28, 2007 10:24 PM

Hi Nagaraj,

Thank you for your help, but your modified sample don't satisfy my requirement. Can you help me for write a LayoutManager? The LayoutManager is my highly needful all the while. I want the LayoutManager can adapt to all the data as my provided.
Can you help me? I am highly appreaciting for your help. I need a LayoutManager!!!!!

Thanks,
kawashima

J.Nagarajan [Syncfusion]
Replied On May 1, 2007 07:43 PM

Hi Kawashima,

I am currently working on your issue with high priority. I will keep you updated on the progress of this incident. In the mean time, if you wish to share any further information on this issue feel free to do so.

Thanks,
Nagaraj

sun
Replied On May 7, 2007 09:09 PM

Hi Nagaraj,

Thank you for your help, but your modified sample don't satisfy my requirement. Can you help me for write a LayoutManager? The LayoutManager is my highly needful all the while. I want the LayoutManager can adapt to all the data as my provided.
Can you help me? I am highly appreaciting for your help. I need a LayoutManager!!!!!

Thanks,
kawashima

J.Nagarajan [Syncfusion]
Replied On May 9, 2007 08:29 PM

Hi Kawashima,

Thank you for your interesting questions. We are currently integrating your requirements into a sample which we will update before end of week. Kindly update us if you have any more requirements.

Have a nice day.

Thanks for your patience.

Regards,
Nagaraj

sun
Replied On May 9, 2007 09:16 PM

Hi,
I will wait for your help. Please send me if you finish the sample.

Thanks,
kawashima

sun
Replied On May 13, 2007 08:47 PM

Hi Nagaraj,

Thank you for your help. Can you tell me if the sample of your mentioned is finished?

Thanks,
kawashima

sun
Replied On May 15, 2007 09:04 PM

Hi Nagaraj,

Thank you for your help. Can you tell me if the sample of your mentioned is finished?

Thanks,
kawashima

Ramya R [Syncfusion]
Replied On May 16, 2007 12:35 PM

Hi Kawashima ,

My strong apologies for the delay in responding to you.

We are working on this sample and will update you with the exact timeframe for the completion of this sample by Friday of this week.

Thank you for your patience.

Regards,
Ramya.

sun
Replied On May 16, 2007 08:50 PM

Hi,
I will wait for your help. Please send me if you finish the sample.

Thanks,
kawashima

sun
Replied On May 18, 2007 04:43 AM

Hi,
I will wait for your help. Please send me if you finish the sample.

Thanks,
kawashima

sun
Replied On May 23, 2007 02:34 AM

Hi,
I will wait for your help. Please send me if you finish the sample.

Thanks,
kawashima

sun
Replied On May 23, 2007 02:36 AM

Hi Nagarajan and Ramya,
I will wait for your help. Please send me if you finish the sample.

Thanks,
kawashima

sun
Replied On May 23, 2007 08:55 PM

Hi,
I wait for your company help. But I don't receive anything about the reply for the question recently. Why don't your company resolve my question? I have some puzzle about your reply.

Thanks,
kawashima

Meera Fathima [Syncfusion]
Replied On May 24, 2007 03:20 AM


Hello Kawashima,

We are sorry for this delay in responding. If your intension is to use layout manager and to arrange the nodes automatically, you can do this by customizing the default LayoutManager class and overriding the desired methods with the code.

I have modified your sample to use the DiagramLayout Manager which is the custom version of LayoutManager class and attached the sample with this. You can get the sample from the following link - http://websamples.syncfusion.com/samples/Diagram.Windows/F58690_May24/main.htm

Sample Details :

1. Created a custom Layout manager class (DiagramLayoutManager.cs).

2. Added two new properties called Rank and SubFlowNodes for the AriFlowNodeSymbol class which is used for layouting the nodes using the custom layout manager.

3. Added code to all the IterCreateFlowNodeSymbol() methods in the Ari_DrawSankey class to set the value for AriFlowNodeSymbol.SubFlowNodes property.
Set the layout manager to the diagram control ( This is implemented in the Ari_DrawSankey class constructors).

3. This custom layout is used to arrange the nodes ( This is implemented in the Ari_DrawSankey.CreateOrgDiagramFromList() method).

4. The LineRouting and Bridging mechanism are applied on the diagram layout ( This is implemented in the Ari_DrawSankey class constructors).

Please look into the sample. I hope this will help you to get an idea about what you are looking for.

P.S : I have just created a custom layout manager and applied it the diagram. Please look into that and try to modifying it (if it needs) by yourself as per your requirement since this seems to be very specific to your application.

Best Regards,
Meera.

sun
Replied On May 24, 2007 04:33 AM

Hello Meera Fathima,
Thank you for your help. Please you click the "RealTime Run" button, you can find some question. Each node label value is confusion. I don't know what it express. Please give me a good solution, not a don't testing sample. I ask some times for the question, but your company reply is my despair. I wait for your company help.

Thanks,
kawashima

sun
Replied On May 24, 2007 04:34 AM

Hello Meera Fathima,
Thank you for your help. Please you click the "RealTime Run" button, you can find some question. Each node label value is confusion. I don't know what it express. Please give me a good solution, not a don't testing sample. I ask some times for the question, but your company reply is my despair. I wait for your company help.

Thanks,
kawashima

Meera Fathima [Syncfusion]
Replied On May 25, 2007 07:26 AM


Hi Kawashima,

I will look into the detail that you provided in the previous update and will get back to you on this by Monday.

Thanks for your patience.

Regards,
Meera.

Meera Fathima [Syncfusion]
Replied On May 29, 2007 08:53 AM


Hi Kawashima,

Sorry about this delay in getting back to you on this.

We have created a DT incident with the subject of this forum. The incident id is #34415. Could you please follow-up with this incident to get more details about the status of this issue.

Thank you for your interest in Syncfusion products.

Best Regards,
Meera.

sun
Replied On May 29, 2007 09:24 PM

Hi Meera Fathima,
Where is the entrance of you mentioned? How do I entrance?

Thanks,
kawashima

Ramya R [Syncfusion]
Replied On May 30, 2007 09:46 AM

Hi Kawashima,

I was able to see your update in the incident- #34415. So I hope you knew how to use the Direct-Trac.

Please followup in that incident.

Thanks,
Ramya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;