how to draw a directed graph in java?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mistusen
    New Member
    • Oct 2008
    • 7

    how to draw a directed graph in java?

    the nodes of the graph has got x and y coordinate.we'l l have to draw a directed graph with the nodes in java.where can i find the source code or what is used to draw the graph?plz suggest.how can i draw the graph...
  • N002213F
    New Member
    • Sep 2007
    • 38

    #2
    A little googling will help you find something called jfreechart or something along those lines.

    Comment

    • mistusen
      New Member
      • Oct 2008
      • 7

      #3
      can u plz suggest the method to draw the graph.....after googling i found many things but can't understand how to start,,,plz suggest....

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        If you can draw a line between two points (x,y) and (x',y') you can draw an edge.
        If you can draw one edge you can draw all edges of a graph.

        kind regards,

        Jos

        Comment

        Working...