{
  "_id": "6a1ed3b9b401979e7340e05a",
  "Package": "sgraph",
  "Title": "Network Visualization Using 'sigma.js'",
  "Version": "1.1.0",
  "Authors@R": "c(person(\"Thomas\", \"Charlon\", role = c(\"aut\", \"cre\"),\nemail = \"charlon@protonmail.com\",\ncomment = c(ORCID = \"0000-0001-7497-0470\")),\nperson(\"CELEHS\", role = \"aut\", comment = \"<https://celehs.hms.harvard.edu>\"),\nperson(\"PARSE Health\", role = \"aut\", comment = \"<https://parse-health.org>\"))",
  "Description": "Interactive visualizations of graphs created with the\n'igraph' package using a 'htmlwidgets' wrapper for the\n'sigma.js' network visualization v2.4.0\n<https://www.sigmajs.org/>, enabling to display several\nthousands of nodes. While several 'R' packages have been\ndeveloped to interface 'sigma.js', all were developed for\nv1.x.x and none have migrated to v2.4.0 nor are they planning\nto. This package builds upon the 'sigmaNet' package, and users\nfamiliar with it will recognize the similar design approach.\nTwo extensions have been added to the classic 'sigma.js'\nvisualizations by overriding the underlying 'JavaScript' code,\nenabling to draw a frame around node labels, and to display\nlabels on multiple lines by parsing line breaks. Other\nadditional functionalities that did not require overriding\n'sigma.js' code include toggling node visibility when clicked\nusing a node attribute and highlighting specific edges.\n'sigma.js' is currently preparing a stable release v3.0.0, and\nthis package plans to update to it when it is available.",
  "VignetteBuilder": "knitr",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "URL": "https://gitlab.com/thomaschln/sgraph",
  "BugReports": "https://gitlab.com/thomaschln/sgraph/-/issues",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev",
  "Repository": "https://thomaschln.r-universe.dev",
  "Date/Publication": "2026-05-20 22:47:58 UTC",
  "RemoteUrl": "https://gitlab.com/thomaschln/sgraph",
  "RemoteRef": "HEAD",
  "RemoteSha": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 23:12:29 UTC",
    "User": "root"
  },
  "Author": "Thomas Charlon [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7497-0470>),\nCELEHS [aut] (<https://celehs.hms.harvard.edu>),\nPARSE Health [aut] (<https://parse-health.org>)",
  "Maintainer": "Thomas Charlon <charlon@protonmail.com>",
  "MD5sum": "6049af59a7b4dec26855a806f7de0d19",
  "_user": "thomaschln",
  "_type": "src",
  "_file": "sgraph_1.1.0.tar.gz",
  "_fileid": "8a3470ff2b2472115333c414bd021d6209280b36d26d84415452cdc2d7f1036b",
  "_filesize": 293906,
  "_sha256": "8a3470ff2b2472115333c414bd021d6209280b36d26d84415452cdc2d7f1036b",
  "_created": "2026-05-20T23:12:29.000Z",
  "_published": "2026-06-02T12:59:37.866Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79075970373,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7123720620"
    },
    {
      "job": 79075970357,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7123721693"
    },
    {
      "job": 79075969832,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7123716236"
    },
    {
      "job": 79075970133,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7123710031"
    },
    {
      "job": 79075969626,
      "time": 206,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7123691885"
    },
    {
      "job": 79075969089,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358325726"
    },
    {
      "job": 79075969933,
      "time": 84,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7123711069"
    },
    {
      "job": 79075970157,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7123714071"
    },
    {
      "job": 79075970123,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7123713444"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://gitlab.com/thomaschln/sgraph",
  "_commit": {
    "id": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
    "author": "Thomas Charlon <charlon@protonmail.com>",
    "committer": "Thomas Charlon <charlon@protonmail.com>",
    "message": "Edit Dockerfile",
    "time": 1779317278
  },
  "_maintainer": {
    "name": "Thomas Charlon",
    "email": "charlon@protonmail.com",
    "login": "thomaschln",
    "linkedin": "in/thomas-charlon-meng-phd-aba0a3275",
    "orcid": "0000-0001-7497-0470",
    "description": "Harvard Medical School Researcher\nBiomedical Informatics @hms-dbmi\nCELEHS laboratory @celehs",
    "uuid": 2394508
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "htmlwidgets",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "gitlab-thomaschln",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-21",
      "n": 3
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 2394508,
    "type": "user",
    "name": "Thomas Charlon",
    "description": "Harvard Medical School Researcher\r\nBiomedical Informatics @hms-dbmi\r\nCELEHS laboratory @CELEHS"
  },
  "_downloads": {
    "count": 213,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sgraph"
  },
  "_devurl": "https://gitlab.com/thomaschln/sgraph",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sgraph.html",
    "manual.pdf"
  ],
  "_homeurl": "https://gitlab.com/thomaschln/sgraph",
  "_realowner": "thomaschln",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-05-27"
    },
    {
      "version": "1.1.0",
      "date": "2024-08-19"
    }
  ],
  "_exports": [
    "%<>%",
    "%>%",
    "%$%",
    "add_edge_color",
    "add_edge_size",
    "add_edge_zindex",
    "add_igraph_info",
    "add_listener",
    "add_node_hidden",
    "add_node_labels",
    "add_node_size",
    "convert_to_spring_weights",
    "get_color_map",
    "get_legend",
    "highlight_multiple_connected",
    "kgraph_to_lgraph",
    "l_graph_to_igraph",
    "multiline_labels",
    "renderSgraph",
    "scale_graph",
    "sgraph_clusters",
    "sgraphOutput",
    "sigma_from_igraph"
  ],
  "_datasets": [
    {
      "name": "lesMis",
      "title": "Co-appearances of characters in \"Les Miserables\"",
      "object": "lesMis",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "compound",
      "title": "Assignment pipe",
      "topics": [
        "%<>%"
      ]
    },
    {
      "page": "pipe",
      "title": "Pipe",
      "topics": [
        "%>%"
      ]
    },
    {
      "page": "exposition",
      "title": "Exposition pipe",
      "topics": [
        "%$%"
      ]
    },
    {
      "page": "add_edge_color",
      "title": "Modify the edge colors of a sgraph object.",
      "topics": [
        "add_edge_color"
      ]
    },
    {
      "page": "add_edge_size",
      "title": "Modify the edge size of a sgraph object.",
      "topics": [
        "add_edge_size"
      ]
    },
    {
      "page": "add_edge_zindex",
      "title": "Modify the edge zIndex of a sgraph object.",
      "topics": [
        "add_edge_zindex"
      ]
    },
    {
      "page": "add_igraph_info",
      "title": "Add nodes information to the igraph object",
      "topics": [
        "add_igraph_info"
      ]
    },
    {
      "page": "add_listener",
      "title": "Add a listener",
      "topics": [
        "add_listener"
      ]
    },
    {
      "page": "add_node_hidden",
      "title": "Modify the node visibility of a sgraph object.",
      "topics": [
        "add_node_hidden"
      ]
    },
    {
      "page": "add_node_labels",
      "title": "Modify the node labels of a sgraph object.",
      "topics": [
        "add_node_labels"
      ]
    },
    {
      "page": "add_node_size",
      "title": "Modify the node size of a sgraph object.",
      "topics": [
        "add_node_size"
      ]
    },
    {
      "page": "convert_to_spring_weights",
      "title": "Convert weights for spring layout",
      "topics": [
        "convert_to_spring_weights"
      ]
    },
    {
      "page": "get_color_map",
      "title": "Build a color map",
      "topics": [
        "get_color_map"
      ]
    },
    {
      "page": "get_legend",
      "title": "Get the legend for a sgraph network",
      "topics": [
        "get_legend"
      ]
    },
    {
      "page": "highlight_multiple_connected",
      "title": "Highlight edges of multiple connected nodes",
      "topics": [
        "highlight_multiple_connected"
      ]
    },
    {
      "page": "kgraph_to_lgraph",
      "title": "Kgraph fit to graph list object",
      "topics": [
        "kgraph_to_lgraph"
      ]
    },
    {
      "page": "l_graph_to_igraph",
      "title": "Graph list object to igraph object",
      "topics": [
        "l_graph_to_igraph"
      ]
    },
    {
      "page": "lesMis",
      "title": "Co-appearances of characters in \"Les Miserables\"",
      "topics": [
        "lesMis"
      ]
    },
    {
      "page": "multiline_labels",
      "title": "Format multiline labels",
      "topics": [
        "multiline_labels"
      ]
    },
    {
      "page": "renderSgraph",
      "title": "Render a sgraph visualization in Shiny",
      "topics": [
        "renderSgraph"
      ]
    },
    {
      "page": "scale_graph",
      "title": "Scale weights",
      "topics": [
        "scale_graph"
      ]
    },
    {
      "page": "sgraph_clusters",
      "title": "Build a sgraph object colored by clusters",
      "topics": [
        "sgraph_clusters"
      ]
    },
    {
      "page": "sgraphOutput",
      "title": "Create a UI element for a sgraph visualization in Shiny",
      "topics": [
        "sgraphOutput"
      ]
    },
    {
      "page": "sigma_from_igraph",
      "title": "Build a sgraph object from an igraph object",
      "topics": [
        "sigma_from_igraph"
      ]
    }
  ],
  "_readme": "https://gitlab.com/thomaschln/sgraph/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "cowplot",
    "cpp11",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "pkgconfig",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "sgraph.Rmd",
      "filename": "sgraph.html",
      "title": "Graph Visualizations Using Sigma.js",
      "author": "Thomas Charlon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Visualization overview",
        "Example"
      ],
      "created": "2024-05-22 21:38:13",
      "modified": "2024-06-02 14:04:46",
      "commits": 3
    }
  ],
  "_score": 4.4065401804339555,
  "_indexed": true,
  "_nocasepkg": "sgraph",
  "_universes": [
    "thomaschln",
    "gitlab-thomaschln"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-20T23:14:26.000Z",
      "distro": "noble",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "7fa3b62c5d3c9e32f7d266977b259f5ed3e2c7d757717ffddce33be22c86ad3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-20T23:14:32.000Z",
      "distro": "noble",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "cedde2340ae0f6734b4e4e88e957a1dab1d90ea57069a0614741af1a99d79f4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-20T23:14:08.000Z",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "6188d992204c9fb33ded214eb33befac37aff6fd8fd04dd2009331bf7c041532",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-20T23:13:48.000Z",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "b6bbedbcb147d9f95a8493d3cc9fcaf484d1d8343407443819412bd38c5613d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-20T23:13:36.000Z",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "5ce31016adb51da655917b06165ab7e90ff90fcaca235d158ed7091178db8017",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-20T23:13:50.000Z",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "77b4f30585679aa08c211b9b96aa1218624cb03bcddb1cac5f629a6a8727bdbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-20T23:13:47.000Z",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "2475f43fd2e971a52c2a9caa65a7f0713ac6c46d70d3cfa95591b316e2135a74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-02T12:59:15.000Z",
      "commit": "d578a7334b5cec2f9c2f2e28dae7fa91bbabccdd",
      "fileid": "8b0e12e13c59a481c802c86c1007ba621e6f2df349177a39ce971e949368012f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomaschln/actions/runs/26195230329"
    }
  ]
}