I would like to change font attribute as the example below
Is there any way to change the font
You may use HTML-like labels in graphviz and define labels with partially bold text:
mynode [label=<bold text>]
Or use the tag:
mynode [label=< bold text regular text >]