Skip to content

Instantly share code, notes, and snippets.

View rbelew's full-sized avatar

Rik Belew rbelew

View GitHub Profile
@rbelew
rbelew / editHierNode.html
Created March 28, 2018 19:01
editHierNode: adding and editing nodes in d3.hierarchy
<!DOCTYPE html>
<!-- https://bl.ocks.org/mbostock/1093025 -->
<meta charset="utf-8">
<style>
.node rect {
cursor: pointer;
fill: #fff;