Bug 493060

Summary: DOT Graph View - DOT to Zest conversion does not properly set sizes in emulated mode.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF DOTAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: miklossy
Version: 0.2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2016-05-05 06:50:45 EDT
When no size is specified in the Dot input (i.e. in emulated mode), Dot2ZestAttributesConverter does not set any Zest size. It should rather use the dot default size (0.75, 0.5) inches and (if layout is different from dot and fixedsize is not set) should extend it to make the label fit.
Comment 1 Alexander Nyßen CLA 2016-05-05 08:03:03 EDT
Pushed the following change to origin/master:

- Ensured that when no size is given, nodes are resized to the default dot size of (0.75, 0.5) inches. Ensured that when in emulated mode, the label size is taken into consideration.

We still need to ensure image size and margin are taken into consideration as well (when being in emulated mode). In contrast to the Graphviz documentation, even the dot layout algorithm seems to respect the fixed size (and resizes nodes to make the label fit).