# A question about the GROUP attribute: what does STRAIGHT mean?

**URL:** <https://forum.graphviz.org/t/a-question-about-the-group-attribute-what-does-straight-mean/548>\
**Category:** Uncategorized\
**Created:** [February 15, 2021, 5:22pm UTC](https://forum.graphviz.org/t/a-question-about-the-group-attribute-what-does-straight-mean/548 "2021-02-15T17:22:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![erg](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/erg/32/34_2.png) [@erg](https://forum.graphviz.org/u/erg)\
**Post date:** [February 15, 2021, 9:33pm UTC](https://forum.graphviz.org/t/a-question-about-the-group-attribute-what-does-straight-mean/548/2 "2021-02-15T21:33:57Z")

</div>

When the endpoints of an edge have the same “group” attribute, the edge is assigned a large value for an attribute that penalizes edge crossings and a large "[weight" attribute](https://www.graphviz.org/doc/info/attrs.html#d:weight). The latter tries to vertically align the vertices and reduce the number of twists in the spline. Both attributes are heuristics, in that there may still be edge crossings, though fewer, and the edge can still be a non-trivial spline.

---

_[View the full topic](https://forum.graphviz.org/t/a-question-about-the-group-attribute-what-does-straight-mean/548)._
