Skip to content

Improve bipartite documentation (migrated from Trac #699) #686

Closed

Description

@networkx-trac

Original ticket https://networkx.lanl.gov/trac/ticket/699
Reported 2012-02-26 by @jtorrents, assigned to @hagberg.

There have been some questions at the mailing list about how to work with bipartite networks using NetworkX (1,2). The patch attached:

  1. Expands main bipartite module documentation addressing the doubts raised in the mailing list. Among other things, it clearly states the convention of using the node attribute "bipartite" to identify the two node sets, and shows with examples how to get the two containers with each node set.
  2. Shortens the first sentence of bipartite projection functions, so they fit nicely in the generated html at algorithms.bipartite.html
  3. It also adds me as author (along with Aric) of the projection.py file in the bipartite package. See Gephi read/write functions don't handle dynamic data correctly. (migrated from Trac #540) #532 for the development history of that file.

(1) http://groups.google.com/group/networkx-discuss/browse_thread/thread/f1f55f203346701f
(2) http://groups.google.com/group/networkx-discuss/browse_thread/thread/ee304b9dda530177

Activity

  1. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by @jtorrents, 2012-02-26: bipartite_doc.patch

  2. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by Aric Hagberg <aric.hagberg, 2012-02-26

    In [6b88095/networkx]:
    '''
    #!CommitTicketReference repository="networkx" revision="6b8809500f22b907d53f536bc4409a10e6f3f761"
    Add bipartite doc patch. Addresses #699
    '''

  3. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by Aric Hagberg <aric.hagberg, 2012-02-26

    In [662a845/networkx]:
    '''
    #!CommitTicketReference repository="networkx" revision="662a845869db49e5f8986ceca86252e2668108dc"
    Switch to lists from sets in doctests because Python2 and Python3 report them differently (set([1,2,3]) vs {1,2,3})
    Addresses #699
    '''

  4. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2012-02-26

    I added the patch. To pass doctests with Python3 I need to switch from sets.

  5. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @jtorrents, 2012-02-27

    Thanks Aric.

    If it is ok, I'll leave the ticket open for some days to see if someone has any comment on bipartite documentation, in general, and/or about the patch, in particular.

  6. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @jtorrents, 2012-03-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions