remove-overlaps
Version:
Given set of N circles at predefined positions attempts to remove overlap between circles
20 lines (19 loc) • 430 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>Remove overlaps in force layout</title>
<style>
body, svg {
width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
}</style>
</head>
<body>
<p>Click to run overlap removal</p>
<script src='bundle.js'></script>
</body>
</html>