first try of graph.json

This commit is contained in:
root 2016-05-16 11:50:23 +02:00
parent 0f910c5483
commit 12c0fd4b70

View File

@ -114,7 +114,7 @@ func (builder *GraphBuilder) Extract() ([]*GraphNode,[]*GraphLink) {
iLinks += 1 iLinks += 1
} }
} }
return nodes, links return nodes, links[:iLinks]
} }
func (builder *GraphBuilder) isVPN(ids ...string) bool { func (builder *GraphBuilder) isVPN(ids ...string) bool {