MyNixOS website logo
Description

Use 'shiny' to Demo 'igraph'.

Using 'shiny' to demo 'igraph' package makes learning graph theory easy and fun.

Synopsis

This project, igraphinshiny, is a Shiny apps to demonstrate the plot function in the igraph package.

Motivation

When I first learned graph theory (date back to 2005), I always looked at the adjacency matrix to understand the graph because I didn't know how to draw different kind of graph fast. I was always wondering how to visualize the graph easily so I can understand how the adjacency matrix really looks.

Now, I am working in econometric modelling support team in International Monetary Fund, I often get requests from economists (who don't have experience with R or graph theory or both of them) about how to visualize their directed trading data (which equivallent to he adjacency matrix in graph theory).

I love to use R, so I always tell them you can use the igraph package in R so you can visualize your network chart easily. However, for users who are familiar with R but no backgroud with graph theory, they will find out that these graph theory jargon in igraph manual is hard to understand. For users who are familiar with graph theory but no background with R, you will find that it's impossible to make you understand how to use igraph in short period of time. For users who are not familiar with both R and graph theory, they just give up. At the end of day, I just create network charts for them.

This is why I create this shiny app to demonstrate the plot function in igraph. I pre configure several common graph structure so users can easily play with.

The goal of igraphinshiny is to help people without knowledge of graph theory or R can easily learn graph theory.

This app is also hosted on shinyapps.io

Installation

devtools::install_github('mingjerli/igraphinshiny')

Loading the package

library(igraphinshiny)

How to use

plotDemo()

Contributors

Ming-Jer Lee ([email protected] )

License

GPL (>=2)

Metadata

Version

0.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows