public ConnectorViewModel(FullyCreatedConnectorInfo sourceConnectorInfo, ConnectorInfoBase sinkConnectorInfo) { Init(sourceConnectorInfo, sinkConnectorInfo); }
private void Init(FullyCreatedConnectorInfo sourceConnectorInfo, ConnectorInfoBase sinkConnectorInfo) { Parent = sourceConnectorInfo.DataItem.Parent; SourceConnectorInfo = sourceConnectorInfo; SinkConnectorInfo = sinkConnectorInfo; PathFinder = new OrthogonalPathFinder(); }