W3C home > Mailing lists > Public > www-svg@w3.org > February 2002

RE: Connecting elements using lines/paths

From: Chris Beels <chris.beels@riskmetrics.com>
Date: Fri, 8 Feb 2002 09:36:59 -0500
Message-ID: <9AB2767ED5B1D5119F0B00B0D049DBC07B8565@LUCY>
To: "'Erik Hellman'" <Erik.Hellman@apollo.nu>, www-svg@w3.org

Not sure if this helps, but you might be able to model this by using paths,
having each of your objects as either rectangles or rectangle-line-rectangle
paths.  This latter could be described as a single function taking in
(upperleft, width1, height1, width2, height2, lowerright).  The line would
be implicit between the two rectangles.  I`ve done similar dynamic shape
modelling with cone segments at

Hope that helps.


-----Original Message-----
From: Erik Hellman [mailto:Erik.Hellman@apollo.nu]
Sent: 08 February 2002 04:15
To: www-svg@w3.org
Subject: Connecting elements using lines/paths


I am looking at using SVG as a modelling language for ontologies, UML, RDBMS
etc. There, in my point of view, seems to be a feature missing in the
specification. Is it possible to define two elements, like two rectangulars,
and then define a line or a path connecting them. This way it would be
possible to change one of the rectangulars without having to redefine the
coordinates for the line/path. This could perhaps be done by specifying the
end coordinates for the line as a reference to a point within the
rectangulars. Maybe one could define "connection points" for every shape in

Has anyone thought of this or is it outside the goal of SVG?

Erik Hellman
Received on Friday, 8 February 2002 09:42:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:52 UTC