Recent

Author Topic: Component for Diagrams ?  (Read 13875 times)

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Component for Diagrams ?
« on: November 22, 2012, 08:13:39 pm »
Hello,
one question. Do we have any component for drawing diagrams ?
Something similar to http://www.bluechillies.com/screenshot/51791.html but this one is only for Delphi and costs $3000.  :(
I don't need any advanced functionality, just a few shapes with description, connections and ability to load/save the designed diagram to disk.
Thanks.

EDIT:

I found this: http://www.delphiarea.com/products/delphi-components/simplegraph/ and I this link was also mentioned on mailing list as a candidate to porting. Did someone port it already ?
« Last Edit: November 23, 2012, 01:26:02 am by Blaazen »
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Component for Diagrams ?
« Reply #1 on: November 23, 2012, 09:11:23 am »
No idea, but I remember Avra (?) posting some state machine units that included a flow diagram that had connectors etc.

edit: see http://lazarus.freepascal.org/index.php/topic,17688.msg98008.html#msg98008

Perhaps you could adapt that.
« Last Edit: November 23, 2012, 10:21:31 am by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

zamtmn

  • Hero Member
  • *****
  • Posts: 683
Re: Component for Diagrams ?
« Reply #2 on: November 23, 2012, 09:59:26 am »

anis2505

  • Full Member
  • ***
  • Posts: 201
Re: Component for Diagrams ?
« Reply #3 on: November 23, 2012, 10:36:35 am »
Hi,

This is a diagram designer built in delphi. maybe someone has ported it

http://meesoft.logicnet.dk/DiagramDesigner/
Dear Confucius you said {A picture is worth a thousand words}
I say {a good example is worth a thousand words}

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Component for Diagrams ?
« Reply #4 on: November 29, 2012, 06:19:44 am »
I have an early alpha conversion of simplegraph for lazarus. So far it works on windows but I have renamed all the components and classes and removed a few like metafile support making it incompatible with the files that are generated from the original component set. It needs a lot of work (especially the printing which is based on metafiles ) and tests before I can share it but if you thing you can help with the conversion pm me.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

eldonfsr

  • Hero Member
  • *****
  • Posts: 572
Re: Component for Diagrams ?
« Reply #5 on: October 05, 2013, 05:45:05 am »
taaz i would like help you with this component, let me know pls.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Component for Diagrams ?
« Reply #6 on: October 05, 2013, 06:28:56 am »
the conversion is almost done, you can grab a copy from http://sourceforge.net/projects/evssimplegraph just make sure that you get everything from the code repo as the last download file have a file missing install it and use it.

At this point the only thing missing are printing and zooming in/out. The main idea for zooming is to implement that on the canvas classes of the component instead of the drawing classes them self.
As for printing I'm thinking to create a new class based on lazReport which given a list of drawing classes will be able to guide them to draw them self on the printing canvas or something along those lines.

The biggest problem at the moment is the testing and feed back, I have no idea if any one uses it or not and if yes what kind of problems they have. I have tested the components on GTK2, QT and WIN32 on a windows laptop and they seem to work acceptable for the time being. So feel free to try them out and report any problems you might have.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Component for Diagrams ?
« Reply #7 on: October 05, 2013, 06:38:59 am »

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Component for Diagrams ?
« Reply #8 on: October 05, 2013, 06:57:50 am »
I have no idea I'll have to take a look and get back to you.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

eldonfsr

  • Hero Member
  • *****
  • Posts: 572
Re: Component for Diagrams ?
« Reply #9 on: October 12, 2013, 06:36:23 am »
Thanks Friend i goinf to test that i let you know how works .

eldonfsr

  • Hero Member
  • *****
  • Posts: 572
Re: Component for Diagrams ?
« Reply #10 on: October 12, 2013, 06:42:24 am »
when i compile the package ask for SG.lrs i check the files and folders but is mot there, or something like that can you check pls.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Component for Diagrams ?
« Reply #11 on: October 12, 2013, 07:02:16 am »
I updated simplegraph.0.1.0.0.rar now it contains the missing file. Please download again.
thank you.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018