Graph API / framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • George Sakkis

    Graph API / framework

    Does anyone know of a good graph API ? The only one I found for Python is
    part of kjbuckets
    (http://starship.python.net/crew/aaro...jbuckets.html),
    but I was looking for something more sophisticated; I am more concerned
    about elegance and extensibility than top performance. JUNG
    (http://jung.sourceforge.net/doc/manual.html) for java looks more promising.
    Does anyone have experience with it or some other relevant framework ?
    Thanks,

    George


  • Larry Bates

    #2
    Re: Graph API / framework

    You might want to review ReportLab. It has a
    very nice graphing API.



    HTH,
    Larry Bates
    Syscon, Inc.


    "George Sakkis" <gsakkis@rutger s.edu> wrote in message
    news:40d4729e$1 @rutgers.edu...[color=blue]
    > Does anyone know of a good graph API ? The only one I found for Python is
    > part of kjbuckets
    > (http://starship.python.net/crew/aaro...jbuckets.html),
    > but I was looking for something more sophisticated; I am more concerned
    > about elegance and extensibility than top performance. JUNG
    > (http://jung.sourceforge.net/doc/manual.html) for java looks more[/color]
    promising.[color=blue]
    > Does anyone have experience with it or some other relevant framework ?
    > Thanks,
    >
    > George
    >
    >[/color]


    Comment

    • Kenneth McDonald

      #3
      Re: Graph API / framework

      The best package I've seen for doing Python API graphs is matplotlib.

      However, I think what the poster is looking for is not x-y graphs,
      but discrete (i.e. node/link) graphs, and for that I don't have
      a suggestion. Pretty easy to put something together using
      dicts, though.

      Ken


      In article <BP2dnQanQcyTFk jdRVn-vA@comcast.com> , Larry Bates wrote:[color=blue]
      > You might want to review ReportLab. It has a
      > very nice graphing API.
      >
      > www.reportlab.org
      >
      > HTH,
      > Larry Bates
      > Syscon, Inc.
      >
      >
      > "George Sakkis" <gsakkis@rutger s.edu> wrote in message
      > news:40d4729e$1 @rutgers.edu...[color=green]
      >> Does anyone know of a good graph API ? The only one I found for Python is
      >> part of kjbuckets
      >> (http://starship.python.net/crew/aaro...jbuckets.html),
      >> but I was looking for something more sophisticated; I am more concerned
      >> about elegance and extensibility than top performance. JUNG
      >> (http://jung.sourceforge.net/doc/manual.html) for java looks more[/color]
      > promising.[color=green]
      >> Does anyone have experience with it or some other relevant framework ?
      >> Thanks,
      >>
      >> George
      >>
      >>[/color]
      >
      >[/color]

      Comment

      • Simon Dahlbacka

        #4
        Re: Graph API / framework

        George Sakkis wrote:[color=blue]
        > Does anyone know of a good graph API ? The only one I found for Python is
        > part of kjbuckets
        > (http://starship.python.net/crew/aaro...jbuckets.html),
        > but I was looking for something more sophisticated; I am more concerned
        > about elegance and extensibility than top performance. JUNG
        > (http://jung.sourceforge.net/doc/manual.html) for java looks more promising.
        > Does anyone have experience with it or some other relevant framework ?
        > Thanks,
        >
        > George
        >
        >[/color]

        is something like pydot (http://dkbza.org/pydot.html) what you are
        looking for? Bindings for the dot tool from the grapviz package
        (http://www.research.att.com/sw/tools/graphviz/)

        /Simon

        Comment

        • Doug Holton

          #5
          Re: Graph API / framework

          George Sakkis wrote:[color=blue]
          > Does anyone know of a good graph API ? The only one I found for Python is
          > part of kjbuckets
          > (http://starship.python.net/crew/aaro...jbuckets.html),
          > but I was looking for something more sophisticated; I am more concerned
          > about elegance and extensibility than top performance. JUNG
          > (http://jung.sourceforge.net/doc/manual.html) for java looks more promising.
          > Does anyone have experience with it or some other relevant framework ?
          > Thanks,[/color]

          You'd probably just want to implement it yourself. There are some basic
          python graph examples out there, like this one:



          For drawing graphs, people tend to use Graphviz from python, but you
          could draw it yourself using a GUI toolkit like wxPython.

          Or else use Jython to access some of the Java libraries like Jung or JGraph.

          If you find any better options, please share them here,
          thanks

          Comment

          Working...