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

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

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

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

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

            controller.SetConnectionFlow(flow);
        }
Beispiel #6
0
        public void SelectStartRoom()
        {
            var controller = new CanvasController();

            controller.SelectStartRoom();
        }
Beispiel #7
0
        public void SelectRoomClosestToCenterOfViewport()
        {
            var controller = new CanvasController();

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

            controller.EnsureVisible(element);
        }