Esempio n. 1
0
 public SleipnirGraphEdgeConnectorListener(SleipnirGraphViewBase view)
 {
     this.view      = view;
     _edgesToCreate = new List <Edge>();
     _edgesToDelete = new List <GraphElement>();
     _graphViewChange.edgesToCreate = _edgesToCreate;
 }
        public void Initialize(SleipnirGraphViewBase view)
        {
            _view = view;
            bool found = GraphAttribute.Cache.TryGet(_view.Graph.GetType(), out _graphTypeData);

            _useGraphTagMatching = found && _graphTypeData?.Tags.Count > 0;
        }