Scicos data structure

scicos_link - Scicos link data structure

### Description

Scicos editor creates and uses for each link a data structure containing all information relative to the graphic interface and interconnection information. Each of them are stored in the Scicos editor diagram data structure. Index of these in Scicos editor diagram data structure is given by the creation order.

### DEFINITION

    lnk=mlist(['Link','xx','yy','id','thick','ct','from','to'],..
         xx,yy,id,thick,ct,from,to)

- lnk: Scilab mlist, Scicos link data structure defined by the formal name 'Link' and containing the following fields:

### FIELDS

- xx : vector of x coordinates of the link path.
- yy : vector of y coordinates of the link path.
- id : character string, the link identification, default value is `'drawlink'.`
- thick : 2 x 1 vector, for definition of the thickness of the link, default value is `[0,0].`
- ct : 2 x 1 vector, `[color,typ]` where `color` defines the color used for the link drawing and `typ` defines its type (0 for regular link ,1 for event link).
- from : 2 x 1 vector, `[block,port]` where `block` is the index of the block at the origin of the link and `port` is the index of the port.
- to : 2 x 1 vector, `[block,port]` where `block` is the index of the block at the end of the link and `port` is the index of the port.

### See Also

`scicos_block` `scicos_graphics` `scicos_model` `scicos_diagram`