Corrected 4 triangle structure and position to round up rather than down 0.6, and also to allow for border thickness
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<script src="https://d3js.org/d3.v7.min.js"></script>
|
||||
<script src="./drawtriangle.js"></script>
|
||||
<script src="./drawtriangleinverted.js"></script>
|
||||
<script src="./savesvg.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
@@ -52,14 +53,14 @@
|
||||
</head>
|
||||
<body onload="drawtriangle('#svg1','Roles','#316443',[0.5,0.6,0.5],'red', { x: 0, y: 350 },-0.7);
|
||||
drawtriangle('#svg1','Actions','#6e6e6e',[0.1,0.6,0.5],'green',{ x: 370, y: 350 },2.3);
|
||||
drawtriangle('#svg1','Approach','#d76a23',[0.3,0.6,0.5],'#ffbf00',{ x: 185, y: 30 },1.4);
|
||||
drawtriangle('#svg1','Approach','#d76a23',[0.3,0.6,0.5],'#ffbf00',{ x: 185, y: 32 },1.4);
|
||||
drawtriangleinverted('#svg1','Impact','#9f84b8',[0.7,0.6,0.8],'green',{ x: 185, y: 244},2.4);
|
||||
makeSvgRightClickable('svg1');
|
||||
">
|
||||
<svg id="svg1" width="1000" height="1000"></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="svg1" width="1000" height="1000"></svg>
|
||||
|
||||
<svg id="svg2" width="500" height="500"></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="svg2" width="500" height="500"></svg>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user