Hi,

The R package called 'networkD3' seems to have support for converting an
igraph graph into the format required by D3.js; see the "Interacting with
igraph" section here:

https://github.com/christophergandrud/networkD3


T.

On Tue, Jul 12, 2016 at 10:58 PM, Khanna, Aditya [MED] <
[email protected]> wrote:

> Hello,
>
>
>
> I am trying to create an interactive network visualization using D3. But I
> use igraph to manage most of my relational data in R.
>
>
>
> It appears that  the first step is to produce the json file. There are
> some R packages (jsonlite, rjson, etc) that seem to offer some
> functionality, but none that are particular to a graph object as encoded in
> the igraph package.
>
>
>
> Or is there some intermediate step, like first writing to a dimacs file,
> and then exporting using one of the above packages that migh work?
>
>
> Thanks,
> Aditya
>
>
>
> --
>
> Aditya Khanna (Webpage) <http://home.uchicago.edu/~khanna7/>
>
> Chicago Center for HIV Elimination
>
> Staff Scientist, Director of Network Modeling
>
> Department of Medicine
>
> Division of Biological Sciences
>
> University of Chicago
>
> 5841 S Maryland Ave - MC 5065
>
> Chicago IL 60637
>
> office: (773) 834-5635 <%28773%29%20702-8349>; fax:  (773) 702-8998
> <%28773%29%20702-8998>
>
>
>
> [image: cid:[email protected]]    [image: medicine]
>
> Website: http://hivelimination.uchicago.edu
> Facebook: https://www.facebook.com/hivelimination
> Twitter: @HIVElimination
>
>
>
> ********************************************************************************
> This e-mail is intended only for the use of the individual or entity to
> which
> it is addressed and may contain information that is privileged and
> confidential.
> If the reader of this e-mail message is not the intended recipient, you
> are
> hereby notified that any dissemination, distribution or copying of this
> communication is prohibited. If you have received this e-mail in error,
> please
> notify the sender and destroy all copies of the transmittal.
>
> Thank you
> University of Chicago Medicine and Biological Sciences
>
> ********************************************************************************
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to