Skip to content
Back to skills

Ndtv

ASecurity

R ndtv package for network animation. Use for visualizing and animating dynamic networks.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 4, 2026
data

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill ndtv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ndtv?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ndtv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-ndtv/badge)](https://www.skillsdirectory.com/skills/leolin990405-ndtv)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ndtv
description: R ndtv package for network animation. Use for visualizing and animating dynamic networks.
---

# ndtv

Network dynamic temporal visualization.

## Compute Animation

```r
library(ndtv)

# Compute layout for animation
compute.animation(dnet,
  animation.mode = "kamadakawai",
  slice.par = list(
    start = 0,
    end = 10,
    interval = 1,
    aggregate.dur = 1
  ))
```

## Render Animation

```r
# HTML/D3 animation
render.d3movie(dnet, filename = "network.html")

# GIF animation
render.animation(dnet, filename = "network.gif")

# Video
render.animation(dnet, filename = "network.mp4",
  ani.options = list(interval = 0.1))
```

## Customization

```r
render.d3movie(dnet,
  # Vertex appearance
  vertex.col = "blue",
  vertex.cex = 1.5,
  vertex.sides = 50,  # Circle

  # Edge appearance
  edge.col = "gray",
  edge.lwd = 1,

  # Labels
  displaylabels = TRUE,
  label.cex = 0.8,
  label.col = "black",

  # Output
  filename = "network.html",
  output.mode = "htmlWidget"
)
```

## Dynamic Attributes

```r
# Color by attribute
render.d3movie(dnet,
  vertex.col = function(slice) {
    get.vertex.attribute(slice, "group")
  })

# Size by degree
render.d3movie(dnet,
  vertex.cex = function(slice) {
    degree(slice) / 5
  })
```

## Timeline

```r
# Add timeline
timeline(dnet,
  slice.par = list(start = 0, end = 10, interval = 1))

# Filmstrip view
filmstrip(dnet, displaylabels = TRUE)
```

## Layout Modes

```r
# Available modes
compute.animation(dnet, animation.mode = "kamadakawai")
compute.animation(dnet, animation.mode = "MDSJ")
compute.animation(dnet, animation.mode = "Graphviz")
compute.animation(dnet, animation.mode = "useAttribute")
```

## Proximity Timeline

```r
# Proximity timeline plot
proximity.timeline(dnet,
  default.dist = 10,
  mode = "sammon")
```

## Export Frames

```r
# Export individual frames
for (t in 0:10) {
  net_t <- network.extract(dnet, at = t)
  png(paste0("frame_", t, ".png"))
  plot(net_t)
  dev.off()
}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.