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

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

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

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

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

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

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

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

            controller.EnsureVisible(element);
        }