Skip to content

Commit

Permalink
fix: Missing borders in dTree demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikGartner committed Feb 23, 2019
1 parent 7876de6 commit 5926c15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Treehouse
There exists a playground/open repository for dTree graphs called [Treehouse](https://treehouse.gartner.io). There anyone can host a dTree graph without having to create a website or interact directly with the library. It uses Github gists to store the data and displays it in a nice format. Checkout the **demo** graph for dTree: https://treehouse.gartner.io/ErikGartner/58e58be650453b6d49d7

The demo is also available on [JSFiddle](https://jsfiddle.net/tpde0cer/998/).
The demo is also available on [JSFiddle](https://jsfiddle.net/zsd4pwr3/).

## Installation
There are several ways to use dTree. One way is to simply include the compiled file ```dTree.js``` that then exposes a ```dTree``` variable. dTree is available on both NPM and Bower as *d3-dtree*.
Expand Down
6 changes: 4 additions & 2 deletions test/demo/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">

<style type="text/css">
body {
font: 10px sans-serif;
}
Expand All @@ -17,11 +17,13 @@
background-color: lightblue;
border-style: solid;
border-width: 1px;
box-sizing: border-box;
}
.woman {
background-color: pink;
border-style: solid;
border-width: 1px;
box-sizing: border-box;
}
.emphasis{
font-style: italic;
Expand All @@ -34,8 +36,8 @@
border-style: solid;
border-width: 1px;
}

</style>

<script src="https://cdn.jsdelivr.net/lodash/4.17.4/lodash.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="dtree.js"></script>
Expand Down

0 comments on commit 5926c15

Please sign in to comment.