microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.35k stars 302 forks source link

[Question] How do I implement a graph toolbox in wpf #277

Open J-C-O opened 3 years ago

J-C-O commented 3 years ago

Hi, I am currently working on a graphical editor for tree structures and therefor i want to implement a toolbox from which the user can drag nodes of type "Graph" into a workspace, the node object in the toolbox should stay in the toolbox, in the workspace only a copy of the node object should be created. Basically I try to move/copy a Graph object from the "toolbox graphviewer" to the "target graphviewer" with drag&drop. How can I implement such toolbox with MSAGL in WPF?

Thanks!

levnach commented 3 years ago

See the usages of Microsoft.Msagl.Drawing.IViewer.