I’m building an application that superficially looks like Visio, so I need to be able to connect objects together with connectors. I want to make the connectors have multiple horizontal and vertical segments and be able to drag the corner of the connectors about and have them ‘intelligently’ add new corners or merge into existing parts of the connector as they are dragged. It would also be nice for connectors to snake around other objects rather than crossing though them.
I figure at the very least thier must be an algorithm for this, and if I’m really lucky some nice c# code!
Any ideas?
Connector : Represents the Continuity of the flowchart in another place / page.
Flowchart connectors are used to show the beginning and end of an object. The first shape is always the starting point, which is also referred to as the root. The last shape is called the sink.
Algorithms and flowcharts are different mechanisms used for designing different programs, particularly in computer programming. An algorithm is a step-by-step summary of the procedure, while on the other hand, a flowchart illustrates the steps of a program graphically.
Did you know that there is a "Visio SDK" which lets you embed editable Visio drawings in your own app? I was facing a similar problem, and I decided to let Visio solve it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With