Built with blockbuilder.org
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>Three spheres</title>
<script src="app.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
</head>
<body>
<form>
<input type="button" class="button" value="Betweeness" ng-click="graph.change('Betweeness')" >
<input type="button" class="button" value="Degree" ng-click="graph.change('Degree')">
<input type="button" class="button" value="Eigenvector" ng-click="graph.change('Eigenvector')">
<input type="button" class="button" value="Closeness" ng-click="graph.change('Closeness')">
<input type="button" class="button" value="Harmonic" ng-click="graph.change('Harmonic')">
<input type="button" class="button" value="Communicability" ng-click="graph.change('Communicability')">
</form>
{{graph.centrality}}
</body>
</html>
https://ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular.min.js
https://d3js.org/d3.v4.min.js