Reader's Comments »

  1. 1. By Ray on January 11, 2013 at 23:45

    Hi Kambiz,

    Have you had a look at GLSCENE? It is a nice 3d library for delphi – well structured for doing all kinds of graphics – gaming type programs.

    It does anti-aliasing which is very nice. I am thinking of generating scenes with this and then printing using your printpreview.

    Could simple graph be incorporated into glscene in some way to make it anti-aliased graphs? I know anti-aliasing is not important when printing as the resolution of the print is very high, but to see the preview on the screen it would be nice to be anti-aliased.

    I see you are no longer working on Delphi. Are you going to use Freepascal? Thanks for your contributions to the scene – they are awesome!

    Regards,
    Ray

  2. 2. By Kambiz on January 12, 2013 at 20:59

    Dear Ray,

    I’m afraid that you can’t have anti-aliasing in SG. To have anti-aliasing in SG, the component should be rewritten from scratch.

  3. 3. By Dmitry on January 27, 2013 at 15:44

    Hi
    property Rotate or Rotation?

  4. 4. By Kambiz on January 27, 2013 at 17:51

    Neither! Rotate is a method of TGraphLink class.

  5. 5. By Filip on February 26, 2013 at 10:51

    Hi Kambiz,
    actually, I have the same comment as Dmitry. Property Rotate is highly appreciated! Not for TGraphLink class (for me) but for TGraphNode or TGraphObject. I develope a stage designer for Czech Philharmonic Orchestra and it’s absolutely necessary to have this option. (i.e. I have to set musicians to be always headed to the conductor. The most often on the circumference of stage.)
    Otherwise TSimpleGraph is a great component!

  6. 6. By Kambiz on February 26, 2013 at 18:40

    I’m so sorry Flip but I’ve stopped working on this component. In addition, I no more write code in Delphi.

  7. 7. By Vinkz on April 3, 2013 at 12:02

    Hi Kambiz,

    I ever find your component great.
    Could I know why you stop delphi ? What do you think about delphi today ?
    And, If I’m not indiscreet, what are you doing in programming today ?
    thx !

  8. 8. By Kambiz on April 3, 2013 at 19:46

    Hi,

    There was already a discussion regarding this topic on the forum.

  9. 9. By Arash on September 8, 2013 at 18:41

    Dear Kambiz,
    Thanks about your wonderful component.
    Is there any method for automatic layout and drawing network in this component?
    Could you please help me to find some sample or delphi code in this matter?
    Best

  10. 10. By Damir on September 9, 2013 at 18:21

    Hi Kambiz,
    first, thank you for your great component. I’m using ver 2.80.
    I found a bug in the WrapText function. The line
    if (TextExtent.CX > MaxWidth) and (E nil) then
    should be
    if (TextExtent.CX >= MaxWidth) and (E nil) then …
    In original version there is a problem when TextExtent.CX is exactly MaxWidth.
    Best regards,
    Damir

  11. 11. By Damir on September 9, 2013 at 22:26

    Kambiz, sorry, it’s not that problem….
    Put some longer text in rect node and then resize width of the node … On some width some lines of text will be lost.

  12. 12. By Damir on September 9, 2013 at 23:53

    Kambiz, It’s me again 🙂
    I changed this:
    if E nil then
    begin
    while (E >= S) and (E^ ‘ ‘) and (P^ = ‘ ‘) do
    Dec(E);
    P := E + 1;
    end;
    and now the problem with lost lines of text is gone, but I have another problem: when node (TextRect) becomes to narrow, something goes wrong 🙁

  13. 13. By Kambiz on September 10, 2013 at 13:01

    @Arash: I afraid that you have to implement your own algorithm for automatic layout. Also, I have no resource to help you in this matter.

    The SimpleGraph component supposed to be a really simple component for drawing just simple graphs. The later improvements in the components are more like patches and because of that the control is very unorganized and difficult to maintain/improve. This caused that I never use this component in my own programs and I also stopped future development of this component.

  14. 14. By Kambiz on September 10, 2013 at 13:05

    @Damir: I’ll investigate the problem on the latest version, not version 2.80. I’ll keep you informed by email.