How to adjust angle in hexagon?

I want to increase the left & right opposite angles in a hexagon shaped node. Does anybody know how to do it?

Try changing height and/or width, like so:

graph H {
  H [shape=hexagon height=1]
}

hex

@steveroush

I don’t want to change the shape, I just want to make something very similar to the rectangle, but have a bit of < hello > tint instead of the | hello |, at the left and right of it…

Can you show an example. Hand-drawn is fine.

Something similar to mermaid’s hexagon node:

Not directly, but this approaches Mermaid:

graph H {
  HIJK [shape=hexagon width=1 height=.26 margin=.05 fixedsize=true]
}

hex

You can also create your own node shapes as images & use the image attribute (image | Graphviz)

That doesn’t produce quite like image when text is large enough, say “Global Keyboard Feature?” it gives equal margin to top and bottom, which is too high.