1

Topic: Implementation of the editor of circuits

Greetings to everything, Question can the general, but very necessary. I need to make  application which will be a certain visual editor of logic. That is the user should drag drags-dropom certain 2D primitives (forms) in a working zone and define in between communications. Approximately as circuits of algorithms are drawn. Most are close analog it MS Visio (not in respect of that I want  to repeat, and analog of an image of operation of the user). Accordingly there are two questions which I while hurriedly cannot solve for myself. To me it is necessary certain  which will show library of units/primitive things, whence the user will select and drag them in a working zone. These units should be some vectorial pictures, with plotting possibility on them of any test points. A question: what can be such kontrolom/element of the interface to display such library? Their standard  I while found nothing in a Visual Studio. What kontrol/element of the interface can be used for implementation of the most working zone? That is that place where the user these units will draw the circuit? It is clear that is possible both for And and for to make from zero the . What decision optimal in this case will be not so clear. Help council please!

2

Re: Implementation of the editor of circuits

Hello, just_aircraft, you wrote: _> Help council please! I would begin with modeling of an essence of the task. As the block diagram will be presented in the form of classes and objects.  ready model then in its any intermediate states - it will be simple. Or to save in the text file in the form of any notation. Or to transform to a data format for other program. Drag'n'drop, vectorial figures, graphic  in different modes, the general outline for their display - if to begin with it without distinct model which is capable to exist in a lift-off from the graphic interface, it is necessary to stumble continually.

3

Re: Implementation of the editor of circuits

Hello, just_aircraft, you wrote: _> Help council please! Look at that that already is. Here  the editor of circuits http://www.umlet.com/ source codes

4

Re: Implementation of the editor of circuits

Hello, just_aircraft, you wrote: _>) To me it is necessary certain  which will show library of units/primitive things, whence the user will select and drag them in a working zone. _> these units should be some vectorial pictures, with plotting possibility on them of any test points. _> a question: what can be such kontrolom/element of the interface to display such library? Their standard  I while found nothing in a Visual Studio. _>) What kontrol/element of the interface can be used for implementation of the most working zone? That is that place where the user these units will draw the circuit? Why it is impossible to take normal ListView? For what in library of elements pictures should be vectorial? The vector is necessary at drawing in the field, in library it is possible to deliver raster pictures also. Though up to the end without knowing the task I can and be mistaken. For an implementation example it is possible to take any vectorial editor, the first variant: codeproject

5

Re: Implementation of the editor of circuits

Hello, Vasiliy2, you wrote: V>) the Vector is necessary at drawing in the field, in library it is possible to deliver raster pictures also. And then is issued  a notebook, and pictures . Or the user sticks scaling UI in Windows adjustments. Since appeared XAML with support SVG-like of geometries and everyones these graded-index , bitmap graphics usage - a crime before UI.

6

Re: Implementation of the editor of circuits

Hello, Mr. Delphist, you wrote: MD> Since appeared XAML with support SVG-like of geometries and everyones these graded-index , bitmap graphics usage - a crime before UI. We begin with that that in the start message the word was not about technology on which development is planned. Well and from XAML th such question generally would not stand - on what to do library of elements. It in  it can cause a problem.

7

Re: Implementation of the editor of circuits

Hello, Vasiliy2, you wrote: V> Hello, Mr. Delphist, you wrote: MD>> Since appeared XAML with support SVG-like of geometries and everyones these graded-index , bitmap graphics usage - a crime before UI. V> we Begin with that that in the start message the word was not about technology on which development is planned. Well and from XAML th such question generally would not stand - on what to do library of elements. It in  it can cause a problem. So about that and speech that usage of any windowed-technologies with an old paradigm "all is a window, all is a raster" for a long time already it is time  near to the stewardess. WinForms here the first in queue for is   VCL-liboj, rewritten by Hejlsbergom with companions on C#, and inside all the same Win32 and GDI +. XAML is not only only everything, it is tomorrow looking at us: WPF - traditional desktops-appendices UWP - modern applications, with operation possibility as on a desktop so including on XBox, points of the virtual reality, etc. Xamarin - mobile , not by the night be remembered Also all it is hardware-assisted 2D/3D accelerations, the smooth animations, floppy stylization, MVVM from a box, windowless-rendering and is a lot of that else.

8

Re: Implementation of the editor of circuits

Hello, Vasiliy2, you wrote: V> we Begin with that that in the start message the word was not about technology on which development is planned. But the forum section.NET GUI as though hints.

9

Re: Implementation of the editor of circuits

Hello, just_aircraft, you wrote: _> Help council please! It would be possible to take Qt, then scene QGraphicsScene, elements on it QGraphicsItem and derivative classes, and type QGraphicsView, but it not.NET.

10

Re: Implementation of the editor of circuits

Hello, velkin, you wrote: V> But the forum section.NET GUI as though hints. As though hints on what? On , wpf, [talked nonsense bosh] further? Or we rise on abstraction layer above - a web against a desktop?

11

Re: Implementation of the editor of circuits

12

Re: Implementation of the editor of circuits

13

Re: Implementation of the editor of circuits

Hello, just_aircraft, you wrote: _> Help council please! As a variant - I advise to look towards Visual Studio Modelling SDK is SDK for development in studio of editors of charts, just. Well and further - the editor is done, we take VS Shell mode - and is ready. If this variant for any religious reasons does not arrange, the best variant usage sees, all the same WPF - there with Layout' all is much better, than in Win Forms, and for rendering own  it is possible to fall before inheritance from UIElement and rendering through primitives "manually" - that is is simple adding of lines/rectangles and the text etc. will work very quickly (well if most not to decelerate primitives too) as  will fulfill Direct 2D, a pack.

14

Re: Implementation of the editor of circuits

Hello, Hacker_Delphi, you wrote: H_D> we take VS Shell mode - and it is ready. With it as it was clarified, there are complexities. For VS2017 Shell and did not appear, and for 2015 it like as is, but to the free downloading it is not accessible. I.e. it is necessary to do special request, to receive a certain partner status (as was in due time from a Visual Studio for Automation) and only after that you will receive distribution kit Shell. Somehow so (well or somehow so I understood).

15

Re: Implementation of the editor of circuits

Hello, Mr. Delphist, you wrote: MD> XAML is not only only everything, it is tomorrow looking at us: MD> MD> WPF - traditional desktops-appendices MD> UWP - modern applications, with operation possibility as on a desktop so including on XBox, points of the virtual reality, etc. MD> Xamarin - mobile , not by the night be remembered MD> MD> And all is hardware-assisted 2D/3D accelerations, the smooth animations, floppy stylization, MVVM from a box, windowless-rendering and is a lot of that else. And in a case with WPF - with  the text and brakes.

16

Re: Implementation of the editor of circuits

Hello, Glory, you wrote: And in a case with WPF - with  the text and brakes. And it is possible more in detail? And that how many  on WPF -  on the text did not see (can, ClearType ?). Brakes - yes, happen, if in   converters and to ungear virtualization on a many thousands collection, moreover and with the selector  (we tell, the same chat-kontrol if to do). But it is all the main thing decided - to think. UWP here differs nothing, no less than dead Silverlight for browsers. Not to mention that WinForms it is possible to transform in  with exactly same success (10-20 thousand windowed-kontrolov at one window it is expected die - the miracle does not happen, enclosed  regions terrible business).