Home
Categories
Dictionary
Download
Project Details
Changes Log
FAQ
License

Edge arrows



By default the source and the target of the edge have an arrow specified by the arrowSource and arrowTarget properties of the diagram defaults.

If is possible to customize the source and the target of the arrow by using the GraphMLEdge.getArrows() method. The resulting Arrows source and target type can be customized by the associated:

Edge arrows types

The supported types for the source and target decorations are:

Example

For example, to have an edge with a standard arrow at its target:
      Arrows arrows = edge.getArrows();
      arrows.setTarget(ArrowType.STANDARD);

See also


Categories: edges | general

Copyright 2021 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence