Questions tagged [pajek]

Andrej Mrvar and Vladimir Batagelj: Pajek - program for analysis and visualization of large networks. It can be used for free for non-commercial use. Download Pajek.

8 questions
2
votes
0 answers

NetworkX error while loading pajek network

I'm trying to load a network in pajek format .net into a graph in python. It seems to be an easy task, but I'm getting an error that I don't understand: Traceback (most recent call last): File "insta.py", line 4, in G =…
MMis
  • 85
  • 1
  • 9
2
votes
2 answers

How to split a very large text file (4GB) at pre-defined string in powershell and do it fast

I have a large text file World.net (Which is a Pajek file, but consider it as text) with content: *Vertices 999999 1 "" 0.2931 0.2107 0.5000 empty 2 "" 0.2975 …
Borislav Aymaliev
  • 803
  • 2
  • 9
  • 20
1
vote
1 answer

Reading a pajek file with partitions

I would need to read data from a pajek file consisting of partitions (files .clu). Looking for more information on how reading a pajek format, I've found the following question: Reading a Pajek Dataset into Networkx The answer refers to partitions…
LdM
  • 674
  • 7
  • 23
0
votes
0 answers

Trying to create a network file for Gephi but my code gives this error - "cannot unpack non-iterable NoneType object"

The purpose of this code is to output node and edges file to be used in Gephi. I have used this code as base, which is for Chinese language and I am trying to re-create it to handle English language -…
Shrumo
  • 47
  • 7
0
votes
1 answer

Custom function reading data from pajek file and saving into a python dictionary

everyone! I am currently working on the following task: "Write a function that will read data from a pajek .net file and save it into a dictionary." Data written in "pajek.net" file is: *Vertices 5 1 "x" 2 "y" 3 "z" 4 "m" 5 "n" *Arcs …
jure13
  • 7
  • 4
0
votes
1 answer

Read Pajek partitions file (.clu format) using Networkx

I'm trying to read a pajek partition file (In other words, it is a .clu file) with NetworkX python library and I can't figure out how can I do that. I can read a pajek network (.net format) using the read_pajek method, but I did't find a way to read…
0
votes
1 answer

partitioning large signed networks

I have a large signed network. The signed network is a weighted graph whose edges can be +1 or _1. I need to partition this graph so that most positive edges are placed inside the clusters and the negative edges are placed outside the cluster. this…
0
votes
1 answer

draw network in pajek3xl

I installed pajek3xl but just do not seem to be able to simply draw a network given a .net file. There used to be a draw menu but I cannot find it. is it still possible to draw a network in pajek3xl?
cs0815
  • 16,751
  • 45
  • 136
  • 299