Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
IRenderingElement diagram = this.generator.generate(atomCon);
double width = bounds.getWidth();
this.dy = bounds.getCenterY();
// draw once
this.dx = bounds.getCenterX() - (width / 4);
diagram.accept(this);
// draw again
this.dx += (width / 2);
diagram.accept(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment