コード例 #1
0
 public Render(Canvas canvas, NodeCollectionStorage<FullConnectedGraph> nodeCollectionStorage, SolversHolder solversHolder)
 {
     _canvas = canvas;
     _nodeCollectionStorage = nodeCollectionStorage;
     _nodeRender = RenderFactory.GetNodeRender(nodeCollectionStorage, canvas);
     _linkRender = RenderFactory.GetLinkRender(nodeCollectionStorage, canvas);
     _routeRender = RenderFactory.GetRouteRender(canvas);
 }
コード例 #2
0
 public Render(Canvas canvas, NodeCollectionStorage <FullConnectedGraph> nodeCollectionStorage, SolversHolder solversHolder)
 {
     _canvas = canvas;
     _nodeCollectionStorage = nodeCollectionStorage;
     _nodeRender            = RenderFactory.GetNodeRender(nodeCollectionStorage, canvas);
     _linkRender            = RenderFactory.GetLinkRender(nodeCollectionStorage, canvas);
     _routeRender           = RenderFactory.GetRouteRender(canvas);
 }