Skip to content
Discussion options

You must be logged in to vote

Hi,

there is a bit of documentation available, but admittedly not much:
https://www.eclipse.org/glsp/documentation/clientlayouting/#edge-layout

The edge placement specifies how a child of an edge is placed relative to the edge. You can specify a side (left, right, top, bottom, on), an offset, and a position, which I think is in percent (0.5 means center, 0 means at the source, 1 means at the target). Additionally you can specify whether to rotate the child according to the angle of the edge.

See also API for the builder:
https://github.com/eclipse-glsp/glsp-server/blob/master/plugins/org.eclipse.glsp.graph/src/org/eclipse/glsp/graph/builder/impl/GEdgePlacementBuilder.java

I hope this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Answer selected by rsoika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants