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

Bug 326396

Summary: Connection with multiple target (destinations) feature request
Product: [Modeling] Graphiti Reporter: VincentL <lapointe_vincent_1975>
Component: CoreAssignee: Project Inbox <graphiti-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.brand, matthias.gorning, michael.wenz
Version: 0.7.0Flags: michael.wenz: indigo+
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard: Indigo M6 theme_round_offs
Attachments:
Description Flags
Image shows three connected shapes none

Description VincentL CLA 2010-09-28 06:32:30 EDT
It is possible to have a connection that link more than one source and one target.

I would like to have connection that link together for example 4 EClass.

I would like to use a line bend point (or any point on a connection) as an anchor point for the connection of the next connection. It will help to add sub-segments to existing connection.

This functionnality is available in GMF but I didn't find it with Graphiti? 

In my specific case, I want to create an electrical circuit editor and multiple connection are required because it simplify the basic creation of the schematic. Take a look at the following circuit and you will understand.

http://www.wiringdiagrams21.com/wp-content/uploads/2008/07/1992_audi_80_electrical_diagram.png

Thanks for your answer

Regards
Comment 1 Michael Wenz CLA 2010-10-13 10:35:03 EDT
Marked as enhancement
Comment 2 Christian Brand CLA 2011-03-09 04:56:31 EST
Created attachment 190742 [details]
Image shows three connected shapes
Comment 3 Christian Brand CLA 2011-03-09 04:57:48 EST
Enhancement available now!
You can create "connection points" (CP) on connections now (see attachement). Technically a CP is a (active) shape which can be selected, moved etc. To have this functionality in your tool you have to implement/change the CreateConnectionFeature and ReconnectionFeature.
You can see some example coding in the SKETCH testtool: org.eclipse.graphiti.testtool.sketch.features.SketchReconnectionFeature and org.eclipse.graphiti.testtool.sketch.features.create.AbstractSketchCreateSimpleConnectionFeature
Comment 4 Christian Brand CLA 2011-03-10 02:44:51 EST
Enhancement available now!
You can create "connection points" (CP) on connections now (see attachement). Technically a CP is a (active) shape which can be selected, moved etc. To have this functionality in your tool you have to implement/change the CreateConnectionFeature and ReconnectionFeature.
You can see some example coding in the SKETCH testtool: org.eclipse.graphiti.testtool.sketch.features.SketchReconnectionFeature and org.eclipse.graphiti.testtool.sketch.features.create.AbstractSketchCreateSimpleConnectionFeature
Comment 5 Michael Wenz CLA 2011-05-27 09:15:34 EDT
Part of 0.8.0
Comment 6 Michael Wenz CLA 2011-06-24 09:09:49 EDT
Part of Graphiti Indigo 0.8.0