Aspect selector
Include the <aspect-selector>
somewhere inside your networkApp
, and make sure that <force-layout>
's show-all
attribute is turned off so that no links are drawn at the beginning.
<div ng-app="networkApp" ng-controller="networkCtrl">
<aspect-selector></aspect-selector>
<force-layout initial-url="data/trade-network-multilayer.json"></force-layout>
</div>
This should generate simple network visualization like this, along with the aspect selector on the top where you can select aspect of the network: