Custom Styles Tutorial

Custom Arrow

This step shows a custom arrow.

Things to Try

  • Take a look at MySimpleArrow class.
  • Take a look at MySimpleEdgeStyle constructor to see where the custom arrow is set.

Left to Do

  • Optimize the rendering performance of edges and arrows.
  • If you change the edge thickness in the edge style, the arrow thickness stays the same. Make the arrow thickness match the edge thickness.
  • Create a custom port style for nodes.
  • Use the decorator pattern to add label edges to the nodes.
  • Create a custom group node style.