igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Visualization


From: bright silas Aboh
Subject: Re: [igraph] Visualization
Date: Thu, 13 Sep 2018 16:38:44 +0000

hello,
Please find attached the sample files.

The first one is the edge file ive created from the initial cdr file, using the selected rows for the source and target with weight as the duration of the calls exchange

Please keep it confidential,do not share again.

thanks


On Thu, Sep 13, 2018 at 3:50 PM bright silas Aboh <address@hidden> wrote:
hi,

let me prepare a sample data to share

On Thu, Sep 13, 2018 at 3:37 PM bright silas Aboh <address@hidden> wrote:
hello,

Its a sensitive data but i will share if i am assured of its confidentiality

On Thu, Sep 13, 2018 at 3:19 PM serafim loukas <address@hidden> wrote:
Hi,


Any chance that you could share a part of the data with us?
Or just make a reproducible example with synthetic data?

Best,
M

On 13 Sep 2018, at 17:09, bright silas Aboh <address@hidden> wrote:

i used the layout augument and the process finnished with this erro:

Process finished with exit code -1073741819 (0xC0000005)

On Thu, Sep 13, 2018 at 2:28 PM serafim loukas <address@hidden> wrote:
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 <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help

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

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

Attachment: edges1.csv
Description: MS-Excel spreadsheet

Attachment: initial.csv
Description: MS-Excel spreadsheet


reply via email to

[Prev in Thread] Current Thread [Next in Thread]