Represents a connection or relationship between files. A Connection connects two file:line locations in the
workspace. Connections will be rendered as a line or arrow in the visualization. line is optional, in which case
the Connection will just connect the files and can be passed just the file Uri. Connections can be between two
different files, different lines in the same file, or even connect a file to itself. Connections can only connect
files, not folders. If from or to is undefined, the connection will start or end "outside" the visualization.
Represents a connection or relationship between files. A Connection connects two file:line locations in the workspace.
Connection
s will be rendered as a line or arrow in the visualization.line
is optional, in which case theConnection
will just connect the files and can be passed just the fileUri
.Connection
s can be between two different files, different lines in the same file, or even connect a file to itself.Connection
s can only connect files, not folders. Iffrom
orto
is undefined, the connection will start or end "outside" the visualization.E.g.
or