2

i've been with this problem for some time.. I want to make a diagram, made on runtime with the data that user enters in the other forms etc etc.

My first and actual option, was making cycles and then create the shapes / labels, and applying the shape.top to a variable and increasing it every cycle for like 120. this works great, but if i turn this into a more complex thing, it will give me a lot of work to create the shapes and controlling if they are in top of each other, and more, to connect them with a line.

So, there isn't a component that can help me with this? By the way, is there any component to connect with a simple line 2 objects visually? This would be a nice help too !

Thanks.

  • Indeed, creating your own diagrams from scratch is a lot of work. I suggest you look to third party components (Google: delphi diagramming) like on page http://stackoverflow.com/questions/13471/are-there-any-mind-mapping-components-for-delphi-native-vcl-preferably, – Jan Doggen May 02 '13 at 11:26
  • Personally, I'd do it from scratch. – Andreas Rejbrand May 02 '13 at 11:54
  • If you can't find a chart component fitting your demands, IMHO creating a Class, implementing the whole (painting)logic with an assignable canvas would be a better solution than using shapes etc. – bummi May 02 '13 at 12:08
  • What about TeeChart (http://www.steema.com/teechart/vcl) which is part of newer DelphiVersions? – jpfollenius May 02 '13 at 13:02
  • @AndreasRejbrand - yes, we know you'd do that :-) – Leonardo Herrera May 02 '13 at 14:43
  • DeveloperExpress has an org chart and a flow chart component set. If your time is worth money, then you can probably afford to buy them. They are the closest thing to "Visio as a component set for Delphi" that I have used. – Warren P May 02 '13 at 22:25

1 Answers1

5

DelphiArea has a component called Simple Graph that does this type of thing.

I have never used it myself, but I found it today and was impressed with the demo application.

Vivian Mills
  • 2,552
  • 14
  • 19