Skip to content

请问如何实现以下箭头功能,在只有一边有节点的情况下,能指出和指入箭头 #2158

Answered by NewByVector
Duanxy835 asked this question in Q&A
Discussion options

You must be logged in to vote

连线的 source 和 target 都可以为 Point, 比如:

graph.addEdge({
  source: [0, 0],
  target: [100, 100]
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Duanxy835
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants