Created
April 21, 2020 13:13
-
-
Save afrinc/c039d9440761cd34e170fa9bbbc6b2c9 to your computer and use it in GitHub Desktop.
appending rectangular node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const rectangularNode = g | |
.append("svg:rect") | |
.attr("class", "node") | |
.attr("x", d => { | |
return 0; | |
}) | |
.attr("y", d => { | |
return 0; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment