コード例 #1
0
        public void ToggleConnectionStyle(ConnectionStyle style)
        {
            var f          = style == ConnectionStyle.Dashed ? ConnectionStyle.Solid : ConnectionStyle.Dashed;
            var controller = new CanvasController();

            controller.SetConnectionStyle(f);
        }
コード例 #2
0
        public void ToggleConnectionFlow(ConnectionFlow flow)
        {
            var f          = flow == ConnectionFlow.OneWay ? ConnectionFlow.TwoWay : ConnectionFlow.OneWay;
            var controller = new CanvasController();

            controller.SetConnectionFlow(f);
        }
コード例 #3
0
        public void SetConnectionStyle(ConnectionStyle style)
        {
            var controller = new CanvasController();

            controller.SetConnectionStyle(style);
        }
コード例 #4
0
        public void SetConnectionLabel(ConnectionLabel label)
        {
            var controller = new CanvasController();

            controller.SetConnectionLabel(label);
        }
コード例 #5
0
        public void SetConnectionFlow(ConnectionFlow flow)
        {
            var controller = new CanvasController();

            controller.SetConnectionFlow(flow);
        }
コード例 #6
0
        public void SelectStartRoom()
        {
            var controller = new CanvasController();

            controller.SelectStartRoom();
        }
コード例 #7
0
        public void SelectRoomClosestToCenterOfViewport()
        {
            var controller = new CanvasController();

            controller.SelectRoomClosestToCenterOfViewport();
        }
コード例 #8
0
        public void MakeVisible(Element element)
        {
            var controller = new CanvasController();

            controller.EnsureVisible(element);
        }