Added algorithm of visualization of graph based on weight and vertex degree.

This commit is contained in:
Unick Soft
2017-05-06 20:35:59 +03:00
parent c9098412c7
commit 063bfc91ec
4 changed files with 142 additions and 13 deletions

View File

@@ -14,10 +14,9 @@ function BaseEdge(vertex1, vertex2, isDirect, weight, useWeight)
this.hasPair = false;
this.useWeight = useWeight;
this.id = 0;
this.model = new EdgeModel();
}
BaseEdge.prototype.model = new EdgeModel();
BaseEdge.prototype.SaveToXML = function ()
{
return "<edge " +