2016-12-11 5 views

答えて

-1
import { hierarchy, tree } from 'd3-hierarchy' 

// create a hierarchy from the root 
const treeRoot = hierarchy(root) 
tree(treeRoot) 
// nodes 
const nodes = treeRoot.descendants() 
// links 
const links = treeRoot.links() 
+0

あなたはTSではなくJavascriptですか? –

関連する問題