コード例 #1
0
        public ArcProcessViewModel(ProcessContainerViewModel container, uint index)
        {
            this.container      = container;
            Index               = index;
            ArcSign             = $"d{FootnotesHelper.Parse(container.Index)}{FootnotesHelper.Parse(Index)}";
            CSign               = $"C{FootnotesHelper.Parse(container.Index)}{FootnotesHelper.Parse(Index)}";
            ActivePredicateSign = $"P{FootnotesHelper.Parse(container.Index)}{FootnotesHelper.Parse(Index)}";

            container.PropertyChanged += ContainerPropertyChanged;
        }
コード例 #2
0
 public GraphViewModel(ProcessContainerViewModel container)
 {
     this.container = container;
     DrawGraph();
 }