microsoft / automatic-graph-layout

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

Arrow heads #238

Closed sreebhargava143 closed 4 years ago

sreebhargava143 commented 4 years ago
levnach commented 4 years ago

Please have a look at method GraphViewerGdi.DrawArrow. It supports several types. Please add a type that you need.

sreebhargava143 commented 4 years ago

DrawArrow

sreebhargava143 commented 4 years ago

Please have a look at method GraphViewerGdi.DrawArrow. It supports several types. Please add a type that you need.

GraphViewerGdi.DrawArrow method is not available in that namespace.

levnach commented 4 years ago

Sorry, the code is in GraphLayout/tools/GraphViewerGDI/Draw.cs. internal static void DrawArrow(Graphics g, Brush brush, P2 start, P2 end, double lineWidth, ArrowStyle arrowStyle) { switch (arrowStyle) { case ArrowStyle.NonSpecified: case ArrowStyle.Normal:

sreebhargava143 commented 4 years ago

Thank you Levnach...

levnach commented 4 years ago

@sreebhargava143 , can you please submit a pull request with the new arrow style?