# Temporal Force-Directed Graph modifications

**URL:** <https://talk.observablehq.com/t/temporal-force-directed-graph-modifications/5846>\
**Category:** Help\
**Created:** [November 20, 2021, 6:14pm UTC](https://talk.observablehq.com/t/temporal-force-directed-graph-modifications/5846 "2021-11-20T18:14:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Basosa](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/basosa/32/5795_2.png) [@Basosa](https://talk.observablehq.com/u/Basosa)\
**Post date:** [November 20, 2021, 6:14pm UTC](https://talk.observablehq.com/t/temporal-force-directed-graph-modifications/5846/1 "2021-11-20T18:14:18Z")

</div>

Dear all,

I worked a little with D3js and just saw [this](https://observablehq.com/@d3/temporal-force-directed-graph) example on Observable. I would like to do a standalone of this temporal network to be able to use it for my R package [NetExplorer](https://github.com/SebastianSosa/Network-Explorer) and would like to make several modifications. I thus downloaded the notebook source code.

First, I would like to be sure that if I incorporate all the notebook source code the plot will work locally.

Second, the first modifications I wanted to do is to remove those outputs to keep only the ‘scrubber’ and the graph:  
update = undefined

data = Object {nodes: Array(3846), links: Array(26040)}

times = Array(1217) [2009-06-04T09:02Z, 2009-06-04T09:03Z, 2009-06-04T09:04Z, 2009-06-04T09:05Z, 2009-06-04T09:06Z, 2009-06-04T09:07Z, 2009-06-04T09:08Z, 2009-06-04T09:09Z, 2009-06-04T09:10Z, 2009-06-04T09:11Z, 2009-06-04T09:12Z, 2009-06-04T09:13Z, 2009-06-04T09:14Z, 2009-06-04T09:17Z, 2009-06-04T09:18Z, 2009-06-04T09:19Z, 2009-06-04T09:20Z, 2009-06-04T09:21Z, 2009-06-04T09:22Z, 2009-06-04T09:23Z, …]

contains = ƒ(…)

height = 680

drag = ƒ(simulation)

d3 = Object {format: ƒ(t), formatPrefix: ƒ(t, n), timeFormat: ƒ(t), timeParse: ƒ(t), utcFormat: ƒ(t), utcParse: ƒ(t), Adder: class, Delaunay: class, FormatSpecifier: ƒ(t), InternMap

Could you please let me know how to do this?

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![hellonearthis](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/hellonearthis/32/3935_2.png) [@hellonearthis](https://talk.observablehq.com/u/hellonearthis)\
**Post date:** [November 20, 2021, 6:44pm UTC](https://talk.observablehq.com/t/temporal-force-directed-graph-modifications/5846/2 "2021-11-20T18:44:09Z")

</div>

These notebooks might help:

> **[Observable for R Users](https://observablehq.com/@slopp/observable-for-r-users)**
>
> Intro Observable is a platform for collaborative data exploration. For R users, Observable will feel like a mashup of R Markdown and Shiny, almost like a happy medium between a spreadsheet and a document. Learning a little JavaScript unlocks the...

> **[Visualize a data frame with Observable, in Jupyter](https://observablehq.com/@observablehq/visualize-a-data-frame-with-observable-in-jupyter)**
>
> The most common reason for Jupyter users to use Observable is the creation and distribution of visualizations. Let's get some data into Observable, visualize it, share that visualization and even plop it back into Jupyter. If you're not familiar with...
