versions @2
This commit is contained in:
parent
1eabfd08cf
commit
6e42fc0f1c
|
|
@ -21,9 +21,9 @@ To use this module, create a [simulation](#simulation) for an array of [nodes](#
|
|||
If you use NPM, `npm install d3-force`. Otherwise, download the [latest release](https://github.com/d3/d3-force/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-force.v2.min.js) or as part of [D3](https://github.com/d3/d3). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3_force` global is exported:
|
||||
|
||||
```html
|
||||
<script src="https://d3js.org/d3-dispatch.v1.min.js"></script>
|
||||
<script src="https://d3js.org/d3-quadtree.v1.min.js"></script>
|
||||
<script src="https://d3js.org/d3-timer.v1.min.js"></script>
|
||||
<script src="https://d3js.org/d3-dispatch.v2.min.js"></script>
|
||||
<script src="https://d3js.org/d3-quadtree.v2.min.js"></script>
|
||||
<script src="https://d3js.org/d3-timer.v2.min.js"></script>
|
||||
<script src="https://d3js.org/d3-force.v2.min.js"></script>
|
||||
<script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user