C # flowchart application - how?

Hi I'm new to C # WPF. C # has a WPF program in a flowchart. The program can display objects and connect arrows between them. those. eg

========           ========
|      |           |      |
| obj1 |  ------>  | obj2 |
========           ========

1 - How to add a visual function to each object when right-clicking? those. when I right-click an object, I like to change its properties that belong to the application.

2 - how can I create and generate a file containing information about the relationships above the objects above. those. obj1 flows to obj2

Thank you for sharing your thoughts.

+3
source share
4 answers

1) , . , , ( ) "" . , .

2) , XML Binary . , csv , .

:

- - , , , DataGridView, , // . Widget, DataGridView, HitTest, , . - , , , - .

http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.hittest.aspx HitTest DataGridView.

http://www.codeproject.com/KB/list/CSharpHitTest.aspx - CodeProject, ListView.

+3

1 - , . 2 - XML .

+2

Git https://gridwizard.wordpress.com/2015/03/25/simple-c-library-to-render-graph-to-flowchart

It helps generate a flowchart by first computing Node.x / y and the size of the canvas (given by the object graph), and then outputting it to HTML5. You can adapt the code rendering in WPF (just by adding another rendering code - borrowing from your HTML5 renderer).

0
source

Source: https://habr.com/ru/post/1767005/


All Articles