//启动环形布局 public void StartCicro() { if (this.circo == null) { return; } //初始化所有布局点 circo.LayoutInit(graph); //进入退火循环 circo.Float(graph); }
public void DrawNewGraph(DrawingCanvas dc, int neibour, Graph newSubGraph) { myDrawingCanvas = dc; mySubGraph = newSubGraph; myCirco = new CircleLayout(neibour, myRadius); //初始化所有布局点 myCirco.LayoutInit(mySubGraph); //进入退火循环 //myCirco.Float(mySubGraph); //绘制网络图 DrawGraph(); }