Skip to content

Instantly share code, notes, and snippets.

Created September 14, 2018 18:57
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
#jArchi script to remove bendpoints on selected relationships
// RemoveBentpoints
// Requires jArchi -
// This script takes a selection of visual objects as input, filter it to keep only relationships and remove all their bendpoints
// (c) 2018 Jean-Baptiste Sarrodie
$(selection).filter("relationship").filter(function(o) {return o.view}).each(function(o) {
var view = o.view;
var rel = o.concept;
var source = o.source;
var target =;
view.add(rel, source, target);
Copy link

Well that's simpler.
I've been using the script a while and never noticed it had been incorporated into the language.
(off to update some scripts now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment