Igraph and usage of Read(kclass, f, format=...) question

Discussion in 'Python' started by ish, Apr 4, 2012.

  1. ish

    ish Guest

    I am using igraph package via Python interface. I have a list of edges of a graph one edge per line of input in a file (e.txt) and want igraph to read the edges into the graph. Can any one give me a usage hint of igraph.Graph.Read()??

    import igraph
    g = igraph.Graph()
    g.add_vertices(3) # 4 vertices
    g.Read("e.txt", "egdes")

    but does not work!

    Any pointer will be appreciated.
    -ish
     
    ish, Apr 4, 2012
    #1
    1. Advertising

  2. ish

    alex23 Guest

    On Apr 5, 12:00 am, ish <> wrote:
    > Any pointer will be appreciated.


    1. Show your input. Odds are there's a problem with your data.
    2. Show the output. "Does not work" tells us nothing of value.
    3. Don't repeatedly post the same question in different threads. That
    doesn't make people answer any faster.
    4. Try the appropriate support mailing list:
    https://lists.nongnu.org/mailman/listinfo/igraph-help
     
    alex23, Apr 5, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. alessandro.carrega

    Igraph Library Weighted Edges

    alessandro.carrega, Dec 28, 2007, in forum: C++
    Replies:
    6
    Views:
    761
    Lionel B
    Jan 6, 2008
  2. trans.  (T. Onoma)

    igraph

    trans. (T. Onoma), Oct 27, 2004, in forum: Ruby
    Replies:
    1
    Views:
    107
    ruby talk
    Oct 27, 2004
  3. Alex Gutteridge

    [ANN] igraph 0.3 Released

    Alex Gutteridge, Aug 16, 2007, in forum: Ruby
    Replies:
    0
    Views:
    79
    Alex Gutteridge
    Aug 16, 2007
  4. Alex Gutteridge

    [ANN] igraph 0.9.0 Released

    Alex Gutteridge, Nov 19, 2007, in forum: Ruby
    Replies:
    6
    Views:
    122
    Une Bévue
    Nov 20, 2007
  5. Replies:
    0
    Views:
    181
Loading...

Share This Page