public Orthogonal() { this.box = new Box(); }
public Shape apply(Context<Network<N, E>, E> context) { Network graph = context.graph; E e = context.element; return isLoop(graph, e) ? box.apply(context) : LINE; } }
public EdgeShape(Graph<V, E> g) { this.graph = g; this.box = new Box(); this.loop = new Loop(); this.simpleLoop = new SimpleLoop(); }