Hello,

Have you tried to use the layout argument ?

Example:

layout = graph.layout("kk")
plot(graph, layout = layout)

Best,
Makis

On 13 Sep 2018, at 16:20, bright silas Aboh 
<sbrighta...@gmail.com<mailto:sbrighta...@gmail.com>> wrote:

Hello All,
I am Bright and I started using igraph(python) yesterday

The goal is to use igraph to visualize cdr(call detail record), to start with, 
I created an edge from the cdr.csv data, using the caller as the the source and 
the called_number as the target.

To view this data however, igraph is showing the graph without any link or 
edges between the subscribers.
Any help is warmly welcome

This is a snapshot of my code in pycharm:


import pandas as pd
import igraph
import csv


reader = csv.DictReader(open("edges.csv"))
graph = igraph.Graph.DictList(vertices=None, 
edge_foreign_keys=("src","dst"),edges=reader,directed=False)
igraph.plot(graph,autocurve=True, edge_width = 0.051)

_______________________________________________
igraph-help mailing list
igraph-help@nongnu.org<mailto:igraph-help@nongnu.org>
https://lists.nongnu.org/mailman/listinfo/igraph-help

_______________________________________________
igraph-help mailing list
igraph-help@nongnu.org
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to