1. 06 Feb, 2009 1 commit
    • Tiago Peixoto's avatar
      Improve run_action module · 0c87c492
      Tiago Peixoto authored
      Now inline() automatically converts known variables (such as property
      maps) and defaults to boost::python objects, instead of scxx objects.
      
      The code now is only generated for the current filtered, reversed and/or
      directed status of the graph, reducing compile time and binary size.
      
      Edge modification (remove and add) is now protected by a GraphWrap
      class, which takes care of the edge index housekeeping, which does not
      need to be done by hand anymore.
      
      The function is also no longer bound to one graph, and can take an
      arbitrary number of variables of known or unknown types, including
      graphs.
      0c87c492
  2. 01 Dec, 2008 1 commit
  3. 26 Oct, 2008 2 commits
  4. 23 Oct, 2008 1 commit
  5. 13 Oct, 2008 1 commit
  6. 10 Aug, 2008 1 commit
    • Tiago Peixoto's avatar
      Add graph_tool.draw module · 403f2605
      Tiago Peixoto authored
      This adds a graph_draw() functions which draws graphs in variety of
      layouts and formats, and also to the screen, using the python graphviz
      bindings.
      403f2605
  7. 21 Jul, 2008 1 commit
  8. 15 Jul, 2008 1 commit
  9. 12 May, 2008 1 commit
  10. 10 Apr, 2008 1 commit
    • Tiago Peixoto's avatar
      Correlations algorithms refactoring · 360a3395
      Tiago Peixoto authored
      The whole histogram code has been redone, and the code has been
      simplified. The three-point vertex-edge-vertex correlation has been
      scrapped, since it's not frequently used, and would make compilation
      even more expensive.
      
      This also adds some missing files to the generation routine.
      360a3395
  11. 27 Mar, 2008 1 commit
    • Tiago Peixoto's avatar
      Port graph I/O to new filtering engine, enable graph pickling, and fix several issues · 99bf21c8
      Tiago Peixoto authored
      Now graphml files properly contain all the supported value types, which
      are all perfectly preserved when read (floating point data is now saved
      in hexadecimal format). Several other improvements were made, such as
      the ability to read and write to python file-like objects.
      
      It is also now possible to have arbitrary python object properties, and
      store them persistently (which is done internally with the pickling
      interface).
      
      vector<bool> was totally abolished, since its implementation is quite
      broken. See: http://www.gotw.ca/publications/N1211.pdf and
      http://www.gotw.ca/publications/N1185.pdf Now a uint8_t (aka. char) is
      used in graph properties instead of a bool.
      
      Graph types can now be fully pickled (this may not be feasible
      memory-wise if the graph is too large, since the whole XML
      representation is dumped to a string before it is saved on disc).
      99bf21c8
  12. 17 Feb, 2008 1 commit
    • Tiago Peixoto's avatar
      Split libgraph_tool into sub-modules and add test cases · 3cfff0cb
      Tiago Peixoto authored
      This commit splits libraph_tool into different libraries:
       
         - libgraph_tool_core
         - libgraph_tool_clustering (*)
         - libgraph_tool_community (*)
         - libgraph_tool_correlations (*)
         - libgraph_tool_distance (*)
         - libgraph_tool_generation (*)
         - libgraph_tool_layout (*)
         - libgraph_tool_misc (*)
         - libgraph_tool_stats (*)
      
      It also adds the python sub-module 'test', which provides extensive unit
      testing of the core functionality. The core library is fully functional
      and all test pass successfully.
      
      (*) -> module needs to be ported to new refactoring, and does not yet build
      3cfff0cb
  13. 21 Dec, 2007 1 commit
    • Tiago Peixoto's avatar
      Directory restructuring of graph_tool Python module (now a package) · 4a7da8a9
      Tiago Peixoto authored
      Everything was moved into the graph_tool directory, which should have,
      after installation, the following structure:
      
      graph_tool/                          Top-level package
            __init__.py                    Initialize the graph_tool package
            libgraph_tool.so               libgraph_tool submodule
            libgraph_tool.la               libtool file for libgraph_tool
            include/                       C++ include files for dynamically
                                           compiled code
      4a7da8a9