public Edge CreateGhostEdge(IGTFGraphModel graphModel) { GhostEdgeModel ghostEdge; if (m_GhostEdgeViewModelCreator != null) { ghostEdge = m_GhostEdgeViewModelCreator.Invoke(graphModel); } else { ghostEdge = new GhostEdgeModel(graphModel); } var ui = ghostEdge.CreateUI <Edge>(GraphView, m_Store); return(ui); }
public void CreateEdgeCandidate(IGTFGraphModel graphModel) { m_EdgeCandidate = CreateGhostEdge(graphModel); m_EdgeCandidateModel = m_EdgeCandidate.EdgeModel as GhostEdgeModel; }
public GhostEdgeModel(IGTFGraphModel graphModel) { GraphModel = graphModel; }