How to create network graph or hierarchical tree using visjs in angularjs?
问题 I need some help in creating a network graph using visjs in angularjs. I am working on this plunker to achieve something like this I followed the steps mentioned in AngularJS - visjs but was unable to make it work so I created a plunker (given above) to get help from community. Controller code. var app = angular.module('app', ['ngVis']); app.controller('MainCtrl', ['$scope', 'VisDataSet', function($scope, VisDataSet) { $scope.data = VisDataSet({ "1": { "id": 1, "content": "<i class=\"fi-flag\