| import * as Plot from "npm:@observablehq/plot"; | |
| export function tree(tags, {width, height} = {}) { | |
| return Plot.plot({ | |
| axis: null, | |
| width, | |
| height, | |
| margin: 10, | |
| marginLeft: 40, | |
| marginRight: 120, | |
| marks: [ | |
| Plot.tree(tags, {textStroke: "white"}) | |
| ] | |
| }); | |
| } | |
| import * as Plot from "npm:@observablehq/plot"; | |
| export function tree(tags, {width, height} = {}) { | |
| return Plot.plot({ | |
| axis: null, | |
| width, | |
| height, | |
| margin: 10, | |
| marginLeft: 40, | |
| marginRight: 120, | |
| marks: [ | |
| Plot.tree(tags, {textStroke: "white"}) | |
| ] | |
| }); | |
| } | |