Jump to content

Need help in generating or drawing diagrams

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
ailsan

ailsan

    Newbie

  • Members
  • Pip
  • 2 posts
Hi,

I have some knowledge on programming but I'm really not an expert. I'm mostly familiar with C, and knows basic of C++ and Java. But I'm still an amateur in doing pages with diagrams or the graphical user interfaces.

I want to create a tool that could automatically generate diagrams, like shapes with arrows that are linked (something like tree, goal graph, flowchart diagrams). I have read about many programming languages for this, and I saw that it is possible to generate the shapes (example ovals or rectangles). However I can't find any example or tutorial to generate arrows that could connect the shapes, plus I realize that this might be difficult since the position of the shapes are uncertain as even the number of them will depend on the users' input from the form.

So now I'm thinking, maybe I could make the users draw the diagrams themselves, by creating a drag and drop tool (the shapes are linked using arrows or connectors, when we move the shapes, the links are still good). Is this easier? Is there any good way for me to do this? Do any of the programming languages provide features to create this drawing tool? So I can set which shapes I want to put in the palette and there's a blank area for the drawings.

Thanks in advance, for any help. :)

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You may want to check out the source code for Dia or Thought Tickler on Sourceforge.net.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
ailsan

ailsan

    Newbie

  • Members
  • Pip
  • 2 posts
Thanks a lot for the info. It's a very useful website. I can't find the source code for Dia though, but I'm trying to see if I can get the source code of other vector diagramming tools. Thanks again :)

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Dia/Developers - GNOME Live!
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
diamFC

diamFC

    Newbie

  • Members
  • Pip
  • 2 posts
I wish luck for you. I`m really not an expert in Delphi coding, but I wrote program, which automatically generate flowchart for source Pascal, Delphi. I drawing diagram in Excel and I did not deliberate as to draw shapes. Excel is for all - so it will be the best choice.
My site is an Russian language, but my program has Ru/Eng.
http://diamfc.oratau...iles/diamFC.zip
Tell me what you from this forum and I`m activate it for you free.

#6
Guest_x42_*

Guest_x42_*
  • Guests
if I where you I would wait until I got to learning about libraries, I might even wait until objects, trust me if you only know the basics, then you aren't ready for a gui (graphical user interface)