microsoft / automatic-graph-layout

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

Node Click Events/Navigation #312

Open oasisbeatle opened 2 years ago

oasisbeatle commented 2 years ago

Hello! I'm trying to:

Is it possible to implement these features? If yes, how?

levnach commented 2 years ago

Can you define "I travel through"?

oasisbeatle commented 2 years ago

One node will be selected (highlighted) and on the press of an arrow key the next node would be selected

levnach commented 2 years ago

You can use the highlighting as in https://github.com/microsoft/automatic-graph-layout/blob/master/GraphLayout/Samples/WindowsApplicationSample/Form1.cs#:~:text=dNode.DrawingNode.Attr.Color%20%3D%20Color,gViewer.Invalidate(obj)%3B