Additional dependencies
In addition to multilayer-network-visualization.js
and multilayer-network-visualization.css
, this visualization requires jQuery, D3, Bootstrap and bootstrap-multiselect plugin:
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<script src="bootstrap-multiselect/bootstrap-multiselect.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap-multiselect/bootstrap-multiselect.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.19/topojson.min.js"></script>
Luckily, with the exception of the bootstrap-multiselect plugin, there are CDN's available for all of the above. In the future versions these dependencies will be handled with the Angular's dependency injection.