Questions tagged [d3-dag]
5 questions
0
votes
1 answer
How to render an svg element
I am trying to render an svg image in typescript. I got this element from https://observablehq.com/@erikbrinkman/d3-dag-sugiyama website. I rewrote this so that it runs in react. I can render the element, when I serialise it using:
var s = new…

Kelemen
- 1
- 2
0
votes
1 answer
curveBumpX returns undefined
I'm trying to use curveBumpX/curveBumpY but it returns as undefined.
I don't see it's marked as deprecated and it appears in the autocomplete.
Any idea why?
I'm using d3-dag ver: 0.11.1
I'm trying to create a curved connection between edges

Ace
- 831
- 2
- 8
- 28
0
votes
1 answer
Define a fixed distance between each nodes with d3-dag
I'm using d3-dag to create nodes and edges.
I'm using curveStepBefore as the way the nodes are connected.
I'm looking for a way to define a fixed width between each node.
Here's a fiddle:
fiddle
function drawEdges(svgSelection, dag) {
// How to…

Ace
- 831
- 2
- 8
- 28
0
votes
1 answer
position marker-end in the right place with d3-dag
I'm using d3-dag to build a graph.
I have all the graph nodes in place and placed the edges lines in the right place but the only thing I'm missing is the arrows pointer to point to the right direction.
Not all the arrow pointers point to the right…

Ace
- 831
- 2
- 8
- 28
0
votes
1 answer
Building and displaying a DAG (directed acyclic graph) in D3
I am building a visual representation of a DAG using d3-dag using dagConnect. I think I have the edge data in the correct format but dagConnect doesn't return a populated DAG. I get an error
TypeError: 'caller', 'callee', and 'arguments' properties…

Richard Jacobs
- 5
- 1
- 6