Categories
Uncategorized

ncol2pajek – Python

I’ve just written a very short Python script that will change an ncol graph file to Pajek format. https://github.com/jose187/ncol2pajek Some info on how to use it The ncol File The format of the ncol file will normally be like this The node names should not have any spaces and they should be separated by a […]

Categories
Uncategorized

From ncol to Pajek – Python

Here is a small script that will change an ncol file to a pajek one. The ncol file The ncol looks something like this where each column is divided by a single space, and the last column is the edge color. The Pajek file The final pajek file will be formated like this The Python […]