Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334341

Summary: [diagram] develop better default look for diagram nodes
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Shenxue Zhou <shenxue.zhou>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: raj.alagumalai
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Address the default node look konstantin: iplog+

Description Konstantin Komissarchik CLA 2011-01-13 20:59:42 EST
The default look for diagram nodes needs to be improved. How about a simple rectangle with rounded corners, maybe bluish background, no header/body separation and the label fully centered on both dimensions? 

Once the new look is completed, I'd like to see the map sample simplified by remove size specification from the node definitions. I think the map sample should be the showcase of the default look.
Comment 1 Shenxue Zhou CLA 2011-01-26 13:04:21 EST
Created attachment 187664 [details]
Address the default node look
Comment 2 Shenxue Zhou CLA 2011-01-26 13:07:36 EST
With the patch, the default node is a rounded corner rectangle with a dark blue border and blue-white gradient background. The text is centered inside the node. The links use the same dark blue color as the node border.

The node has a default size of 100 x 30. If the node doesn't have a size spec in the editor definition language, then the default node size is used.
Comment 3 Konstantin Komissarchik CLA 2011-01-27 03:26:48 EST
Patch not released yet...
Comment 4 Konstantin Komissarchik CLA 2011-01-27 03:31:07 EST
Not bad. Patch released...
Comment 5 Raj Alagumalai CLA 2011-06-01 17:58:59 EDT
verified on 0.3.0.201105261624
Comment 6 Konstantin Komissarchik CLA 2011-06-03 12:27:24 EDT
Closing.