From 66af36797733bd11598d4cfb40ac2fa0bddd9d1c Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 4 Oct 2017 00:06:13 -0400 Subject: [PATCH] Set up styling for nodes and links --- FORCE_DIRECTED_GRAPH.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/FORCE_DIRECTED_GRAPH.md b/FORCE_DIRECTED_GRAPH.md index 81d30c5..38e0ddc 100644 --- a/FORCE_DIRECTED_GRAPH.md +++ b/FORCE_DIRECTED_GRAPH.md @@ -42,3 +42,25 @@ Pretty standard, but we'll need two `` elements: ``` + +## Set up styling for nodes and links + +Create a css file for our circles (nodes/people) and lines (links/relationships) + +```css +circle { + fill: red; + r: 5; +} + +line { + stroke: grey; + stroke-width: 1; +} +``` + +Don't forget to link to it! + +```html + +```