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

Bug 334338

Summary: [diagram] merge library sample usecases into map sample
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
Added railway route to the map sample
none
Replaces the first attachment and it removes the library sample konstantin: iplog+

Description Konstantin Komissarchik CLA 2011-01-13 20:51:57 EST
The initial diagram editing contribution included two samples: map and library. The main difference between the two is the way connections are represented. It is important to show both ways, but we don't need two separate samples to do that. 

Let's eliminate the library sample and modify the map sample to have two connection types (perhaps roads and railways). The two types of connections would be modeled differently to show the capability to do either approach.
Comment 1 Konstantin Komissarchik CLA 2011-01-13 20:55:07 EST
Marking this major only because the library sample is currently broken due to inability to accept contributed images.
Comment 2 Shenxue Zhou CLA 2011-01-27 16:58:17 EST
Created attachment 187784 [details]
Added railway route to the map sample

A new connection type is added to the map sample: railway route between destinations. This new route demonstrates the usage of embedded connections. 

The connection definition language has been expanded to support color, line width and line style. Color has two formats: named colors (all css names colors:aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, and yellow) and #rrggbb format. Line styles include solid, dot, dash and dash dot. 

Since we can add bend points to connections, even if multiple connections are created between the same pair of nodes and they all use the same anchor points, we can still distinguish them easily.
Comment 3 Shenxue Zhou CLA 2011-01-27 18:45:13 EST
Created attachment 187788 [details]
Replaces the first attachment and it removes the library sample
Comment 4 Shenxue Zhou CLA 2011-01-27 18:47:04 EST
Once the patch is applied, this bug should be considered "resolved"
Comment 5 Konstantin Komissarchik CLA 2011-01-27 19:42:07 EST
Patch released.
Comment 6 Raj Alagumalai CLA 2011-06-01 18:00:23 EDT
verified on 0.3.0.201105261624
Comment 7 Konstantin Komissarchik CLA 2011-06-03 12:26:58 EDT
Closing.