Skip to content

Commit 058b194

Browse files
authored
Merge pull request #61 from ropensci-review-tools/network
more network diagram #59
2 parents cb5aedf + 6a30316 commit 058b194

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: repometrics
22
Title: Metrics for Your Code Repository
3-
Version: 0.1.3.042
3+
Version: 0.1.3.044
44
Authors@R:
55
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265"))

codemeta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/ropensci-review-tools/repometrics",
99
"issueTracker": "https://github.com/ropensci-review-tools/repometrics/issues",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "0.1.3.042",
11+
"version": "0.1.3.044",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

inst/extdata/quarto/network.qmd

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ network = FileAttachment("results-user-network.json").json()
4444
chart = ForceGraph(network, {
4545
nodeId: d => d.id,
4646
nodeGroup: d => d.group,
47-
nodeTitle: d => `${d.id}\n${d.group}`,
47+
nodeTitle: d => d.id,
48+
nodeRadius: 10,
4849
linkStrokeWidth: l => Math.sqrt(l.value),
4950
width,
50-
height: 600,
51+
height: 200,
5152
invalidation // a promise to stop the simulation when the cell is re-run
5253
})
5354
```

0 commit comments

Comments
 (0)