Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. how to draw a graph

how to draw a graph

Scheduled Pinned Locked Moved The Lounge
graphicsalgorithmsdata-structurestutorialquestion
14 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L lune12

    hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

    R Offline
    R Offline
    Rage
    wrote on last edited by
    #2

    You are not allowed to ask programming questions in the Lounge. Pick up a language and make your choice...[^]

    1 Reply Last reply
    0
    • L lune12

      hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

      P Offline
      P Offline
      Phil J Pearson
      wrote on last edited by
      #3

      Self control.

      Phil


      The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.

      1 Reply Last reply
      0
      • L lune12

        hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

        H Offline
        H Offline
        hairy_hats
        wrote on last edited by
        #4

        Place a hockey stick on a piece of paper and run a pencil along it.

        1 Reply Last reply
        0
        • L lune12

          hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #5

          lune12 wrote:

          I would like to make a program that deal with algorithm on graphs.

          Hence stop wasting your time in the Lounge... :rolleyes:

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          1 Reply Last reply
          0
          • L lune12

            hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

            A Offline
            A Offline
            Anthony Mushrow
            wrote on last edited by
            #6

            lune12 wrote:

            how to draw a graph

            One line, don't lift your pencil off the paper. And use a continuous and smooth motion.

            My current favourite word is: Delicious!

            -SK Genius

            Game Programming articles start -here[^]-

            1 Reply Last reply
            0
            • L lune12

              hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

              N Offline
              N Offline
              NormDroid
              wrote on last edited by
              #7

              Use the force lune.

              Software Kinetics - Moving software

              1 Reply Last reply
              0
              • L lune12

                hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

                0 Offline
                0 Offline
                0x3c0
                wrote on last edited by
                #8

                A TreeView control would be the best here. If you find a way to alter the nodes into a nice graph formation, it'll be very efficient

                L 1 Reply Last reply
                0
                • 0 0x3c0

                  A TreeView control would be the best here. If you find a way to alter the nodes into a nice graph formation, it'll be very efficient

                  L Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #9

                  And how will you handle circular references in a TreeView?

                  xacc.ide - now with TabsToSpaces support
                  IronScheme - 1.0 beta 2 - out now!
                  ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                  L 0 2 Replies Last reply
                  0
                  • L leppie

                    And how will you handle circular references in a TreeView?

                    xacc.ide - now with TabsToSpaces support
                    IronScheme - 1.0 beta 2 - out now!
                    ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                    L Offline
                    L Offline
                    LittleYellowBird
                    wrote on last edited by
                    #10

                    You count the number of circular references or rings in the program to determine its age.

                    Ali

                    C R 2 Replies Last reply
                    0
                    • L leppie

                      And how will you handle circular references in a TreeView?

                      xacc.ide - now with TabsToSpaces support
                      IronScheme - 1.0 beta 2 - out now!
                      ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                      0 Offline
                      0 Offline
                      0x3c0
                      wrote on last edited by
                      #11

                      Print it out and draw an arrow from the child to the parent

                      1 Reply Last reply
                      0
                      • L LittleYellowBird

                        You count the number of circular references or rings in the program to determine its age.

                        Ali

                        C Offline
                        C Offline
                        CPallini
                        wrote on last edited by
                        #12

                        :-D :laugh: :-D

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                        [My articles]

                        1 Reply Last reply
                        0
                        • L lune12

                          hi, I would like to make a program that deal with algorithm on graphs. Which control should I use for drawing the graph - the nodes and edges? Thanks, Lune

                          R Offline
                          R Offline
                          Rob Graham
                          wrote on last edited by
                          #13

                          I don't think you spelled loon correctly.

                          1 Reply Last reply
                          0
                          • L LittleYellowBird

                            You count the number of circular references or rings in the program to determine its age.

                            Ali

                            R Offline
                            R Offline
                            Rajesh R Subramanian
                            wrote on last edited by
                            #14

                            :laugh: Well, I have a job offer for you.

                            It is a crappy thing, but it's life -^ Carlo Pallini

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups