void HandleClickForEdge(GraphmapsEdge vEdge) { //todo : add a hook var lgSettings = Graph.LayoutAlgorithmSettings as LgLayoutSettings; if (lgSettings != null) { var lgEi = lgSettings.GeometryEdgesToLgEdgeInfos[vEdge.Edge.GeometryEdge]; lgEi.SlidingZoomLevel = lgEi.SlidingZoomLevel != 0 ? 0 : double.PositiveInfinity; ViewChangeEvent(null, null); } }
GraphmapsEdge CreateEdgeForLgCase(DrawingEdge edge) { return (GraphmapsEdge) (_drawingObjectsToIViewerObjects[edge] = new GraphmapsEdge(edge, _lgLayoutSettings) { PathStrokeThicknessFunc = () => GetBorderPathThickness()*edge.Attr.LineWidth }); }