Xcos: remove the SVG background template but preserve the style with jgraphx rendering. 55/2855/5
Clément DAVID [Tue, 4 Jan 2011 16:24:21 +0000 (17:24 +0100)]
Regenerate icons with the new style

Bug: 8440 (partial)
Bug: 7980
Change-Id: Iac04b00e6f30a99fde094e7708783280e3bd1f6c

218 files changed:
scilab/CHANGES_5.3.X
scilab/modules/graph/src/java/org/scilab/modules/graph/ScilabCanvas.java
scilab/modules/graph/src/java/org/scilab/modules/graph/shape/SvgShape.java
scilab/modules/xcos/Makefile.am
scilab/modules/xcos/Makefile.in
scilab/modules/xcos/etc/Xcos-style.xml
scilab/modules/xcos/images/blocks/background.svg [deleted file]
scilab/modules/xcos/images/blocks/empty.svg [deleted file]
scilab/modules/xcos/images/palettes/ABS_VALUE.png
scilab/modules/xcos/images/palettes/AFFICH_m.png
scilab/modules/xcos/images/palettes/ANDBLK.png
scilab/modules/xcos/images/palettes/ANDLOG_f.png
scilab/modules/xcos/images/palettes/AUTOMAT.png
scilab/modules/xcos/images/palettes/BACKLASH.png
scilab/modules/xcos/images/palettes/BIGSOM_f.png
scilab/modules/xcos/images/palettes/BITCLEAR.png
scilab/modules/xcos/images/palettes/BITSET.png
scilab/modules/xcos/images/palettes/BOUNCE.png
scilab/modules/xcos/images/palettes/BOUNCEXY.png
scilab/modules/xcos/images/palettes/BPLATFORM.png
scilab/modules/xcos/images/palettes/Bache.png
scilab/modules/xcos/images/palettes/CANIMXY.png
scilab/modules/xcos/images/palettes/CANIMXY3D.png
scilab/modules/xcos/images/palettes/CBLOCK.png
scilab/modules/xcos/images/palettes/CCS.png
scilab/modules/xcos/images/palettes/CEVENTSCOPE.png
scilab/modules/xcos/images/palettes/CFSCOPE.png
scilab/modules/xcos/images/palettes/CLINDUMMY_f.png
scilab/modules/xcos/images/palettes/CLKFROM.png
scilab/modules/xcos/images/palettes/CLKGOTO.png
scilab/modules/xcos/images/palettes/CLKGotoTagVisibility.png
scilab/modules/xcos/images/palettes/CLKINV_f.png
scilab/modules/xcos/images/palettes/CLKOUTV_f.png
scilab/modules/xcos/images/palettes/CLKSOMV_f.png
scilab/modules/xcos/images/palettes/CLOCK_c.png
scilab/modules/xcos/images/palettes/CLR.png
scilab/modules/xcos/images/palettes/CLSS.png
scilab/modules/xcos/images/palettes/CMAT3D.png
scilab/modules/xcos/images/palettes/CMATVIEW.png
scilab/modules/xcos/images/palettes/CMSCOPE.png
scilab/modules/xcos/images/palettes/CONSTRAINT_f.png
scilab/modules/xcos/images/palettes/CONST_m.png
scilab/modules/xcos/images/palettes/CONVERT.png
scilab/modules/xcos/images/palettes/COSBLK_f.png
scilab/modules/xcos/images/palettes/CSCOPE.png
scilab/modules/xcos/images/palettes/CSCOPXY.png
scilab/modules/xcos/images/palettes/CSCOPXY3D.png
scilab/modules/xcos/images/palettes/CUMSUM.png
scilab/modules/xcos/images/palettes/CURV_f.png
scilab/modules/xcos/images/palettes/CVS.png
scilab/modules/xcos/images/palettes/Capacitor.png
scilab/modules/xcos/images/palettes/ConstantVoltage.png
scilab/modules/xcos/images/palettes/Counter.png
scilab/modules/xcos/images/palettes/CurrentSensor.png
scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png
scilab/modules/xcos/images/palettes/DELAYV_f.png
scilab/modules/xcos/images/palettes/DELAY_f.png
scilab/modules/xcos/images/palettes/DEMUX.png
scilab/modules/xcos/images/palettes/DERIV.png
scilab/modules/xcos/images/palettes/DFLIPFLOP.png
scilab/modules/xcos/images/palettes/DIFF_f.png
scilab/modules/xcos/images/palettes/DLATCH.png
scilab/modules/xcos/images/palettes/DLR.png
scilab/modules/xcos/images/palettes/DLRADAPT_f.png
scilab/modules/xcos/images/palettes/DLSS.png
scilab/modules/xcos/images/palettes/DOLLAR_f.png
scilab/modules/xcos/images/palettes/Diode.png
scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png
scilab/modules/xcos/images/palettes/ENDBLK.png
scilab/modules/xcos/images/palettes/END_c.png
scilab/modules/xcos/images/palettes/ESELECT_f.png
scilab/modules/xcos/images/palettes/EVTDLY_c.png
scilab/modules/xcos/images/palettes/EVTGEN_f.png
scilab/modules/xcos/images/palettes/EVTVARDLY.png
scilab/modules/xcos/images/palettes/EXPBLK_m.png
scilab/modules/xcos/images/palettes/EXPRESSION.png
scilab/modules/xcos/images/palettes/EXTRACT.png
scilab/modules/xcos/images/palettes/EXTRACTBITS.png
scilab/modules/xcos/images/palettes/EXTRACTOR.png
scilab/modules/xcos/images/palettes/EXTTRI.png
scilab/modules/xcos/images/palettes/Extract_Activation.png
scilab/modules/xcos/images/palettes/FROM.png
scilab/modules/xcos/images/palettes/FROMMO.png
scilab/modules/xcos/images/palettes/FROMWSB.png
scilab/modules/xcos/images/palettes/GAINBLK_f.png
scilab/modules/xcos/images/palettes/GENERAL_f.png
scilab/modules/xcos/images/palettes/GENSIN_f.png
scilab/modules/xcos/images/palettes/GENSQR_f.png
scilab/modules/xcos/images/palettes/GOTO.png
scilab/modules/xcos/images/palettes/GOTOMO.png
scilab/modules/xcos/images/palettes/GotoTagVisibility.png
scilab/modules/xcos/images/palettes/GotoTagVisibilityMO.png
scilab/modules/xcos/images/palettes/Ground.png
scilab/modules/xcos/images/palettes/Gyrator.png
scilab/modules/xcos/images/palettes/HALT_f.png
scilab/modules/xcos/images/palettes/HYSTHERESIS.png
scilab/modules/xcos/images/palettes/IFTHEL_f.png
scilab/modules/xcos/images/palettes/INIMPL_f.png
scilab/modules/xcos/images/palettes/INTEGRAL_f.png
scilab/modules/xcos/images/palettes/INTEGRAL_m.png
scilab/modules/xcos/images/palettes/INTMUL.png
scilab/modules/xcos/images/palettes/INTRP2BLK_f.png
scilab/modules/xcos/images/palettes/INTRPLBLK_f.png
scilab/modules/xcos/images/palettes/INVBLK.png
scilab/modules/xcos/images/palettes/IN_f.png
scilab/modules/xcos/images/palettes/ISELECT_m.png
scilab/modules/xcos/images/palettes/IdealTransformer.png
scilab/modules/xcos/images/palettes/Inductor.png
scilab/modules/xcos/images/palettes/JKFLIPFLOP.png
scilab/modules/xcos/images/palettes/LOGBLK_f.png
scilab/modules/xcos/images/palettes/LOGIC.png
scilab/modules/xcos/images/palettes/LOGICAL_OP.png
scilab/modules/xcos/images/palettes/LOOKUP_f.png
scilab/modules/xcos/images/palettes/MATBKSL.png
scilab/modules/xcos/images/palettes/MATCATH.png
scilab/modules/xcos/images/palettes/MATCATV.png
scilab/modules/xcos/images/palettes/MATDET.png
scilab/modules/xcos/images/palettes/MATDIAG.png
scilab/modules/xcos/images/palettes/MATDIV.png
scilab/modules/xcos/images/palettes/MATEIG.png
scilab/modules/xcos/images/palettes/MATEXPM.png
scilab/modules/xcos/images/palettes/MATINV.png
scilab/modules/xcos/images/palettes/MATLU.png
scilab/modules/xcos/images/palettes/MATMAGPHI.png
scilab/modules/xcos/images/palettes/MATMUL.png
scilab/modules/xcos/images/palettes/MATPINV.png
scilab/modules/xcos/images/palettes/MATRESH.png
scilab/modules/xcos/images/palettes/MATSING.png
scilab/modules/xcos/images/palettes/MATSUM.png
scilab/modules/xcos/images/palettes/MATTRAN.png
scilab/modules/xcos/images/palettes/MATZCONJ.png
scilab/modules/xcos/images/palettes/MATZREIM.png
scilab/modules/xcos/images/palettes/MAXMIN.png
scilab/modules/xcos/images/palettes/MAX_f.png
scilab/modules/xcos/images/palettes/MBLOCK.png
scilab/modules/xcos/images/palettes/MCLOCK_f.png
scilab/modules/xcos/images/palettes/MFCLCK_f.png
scilab/modules/xcos/images/palettes/MIN_f.png
scilab/modules/xcos/images/palettes/MUX.png
scilab/modules/xcos/images/palettes/M_SWITCH.png
scilab/modules/xcos/images/palettes/M_freq.png
scilab/modules/xcos/images/palettes/Modulo_Count.png
scilab/modules/xcos/images/palettes/NEGTOPOS_f.png
scilab/modules/xcos/images/palettes/NMOS.png
scilab/modules/xcos/images/palettes/NPN.png
scilab/modules/xcos/images/palettes/NRMSOM_f.png
scilab/modules/xcos/images/palettes/OUTIMPL_f.png
scilab/modules/xcos/images/palettes/OUT_f.png
scilab/modules/xcos/images/palettes/OpAmp.png
scilab/modules/xcos/images/palettes/PDE.png
scilab/modules/xcos/images/palettes/PID.png
scilab/modules/xcos/images/palettes/PMOS.png
scilab/modules/xcos/images/palettes/PNP.png
scilab/modules/xcos/images/palettes/POSTONEG_f.png
scilab/modules/xcos/images/palettes/POWBLK_f.png
scilab/modules/xcos/images/palettes/PRODUCT.png
scilab/modules/xcos/images/palettes/PROD_f.png
scilab/modules/xcos/images/palettes/PerteDP.png
scilab/modules/xcos/images/palettes/PotentialSensor.png
scilab/modules/xcos/images/palettes/PuitsP.png
scilab/modules/xcos/images/palettes/QUANT_f.png
scilab/modules/xcos/images/palettes/RAMP.png
scilab/modules/xcos/images/palettes/RAND_m.png
scilab/modules/xcos/images/palettes/RATELIMITER.png
scilab/modules/xcos/images/palettes/READAU_f.png
scilab/modules/xcos/images/palettes/READC_f.png
scilab/modules/xcos/images/palettes/REGISTER.png
scilab/modules/xcos/images/palettes/RELATIONALOP.png
scilab/modules/xcos/images/palettes/RELAY_f.png
scilab/modules/xcos/images/palettes/RFILE_f.png
scilab/modules/xcos/images/palettes/RICC.png
scilab/modules/xcos/images/palettes/ROOTCOEF.png
scilab/modules/xcos/images/palettes/Resistor.png
scilab/modules/xcos/images/palettes/SAMPHOLD_m.png
scilab/modules/xcos/images/palettes/SATURATION.png
scilab/modules/xcos/images/palettes/SAWTOOTH_f.png
scilab/modules/xcos/images/palettes/SELECT_m.png
scilab/modules/xcos/images/palettes/SHIFT.png
scilab/modules/xcos/images/palettes/SIGNUM.png
scilab/modules/xcos/images/palettes/SINBLK_f.png
scilab/modules/xcos/images/palettes/SQRT.png
scilab/modules/xcos/images/palettes/SRFLIPFLOP.png
scilab/modules/xcos/images/palettes/STEP_FUNCTION.png
scilab/modules/xcos/images/palettes/SUBMAT.png
scilab/modules/xcos/images/palettes/SUMMATION.png
scilab/modules/xcos/images/palettes/SUM_f.png
scilab/modules/xcos/images/palettes/SUPER_f.png
scilab/modules/xcos/images/palettes/SWITCH2_m.png
scilab/modules/xcos/images/palettes/SWITCH_f.png
scilab/modules/xcos/images/palettes/SampleCLK.png
scilab/modules/xcos/images/palettes/Sigbuilder.png
scilab/modules/xcos/images/palettes/SineVoltage.png
scilab/modules/xcos/images/palettes/SourceP.png
scilab/modules/xcos/images/palettes/Switch.png
scilab/modules/xcos/images/palettes/TANBLK_f.png
scilab/modules/xcos/images/palettes/TCLSS.png
scilab/modules/xcos/images/palettes/TIME_DELAY.png
scilab/modules/xcos/images/palettes/TIME_f.png
scilab/modules/xcos/images/palettes/TKSCALE.png
scilab/modules/xcos/images/palettes/TOWS_c.png
scilab/modules/xcos/images/palettes/TRASH_f.png
scilab/modules/xcos/images/palettes/TrigFun.png
scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png
scilab/modules/xcos/images/palettes/VVsourceAC.png
scilab/modules/xcos/images/palettes/VanneReglante.png
scilab/modules/xcos/images/palettes/VariableResistor.png
scilab/modules/xcos/images/palettes/VoltageSensor.png
scilab/modules/xcos/images/palettes/VsourceAC.png
scilab/modules/xcos/images/palettes/WFILE_f.png
scilab/modules/xcos/images/palettes/WRITEAU_f.png
scilab/modules/xcos/images/palettes/WRITEC_f.png
scilab/modules/xcos/images/palettes/ZCROSS_f.png
scilab/modules/xcos/images/palettes/c_block.png
scilab/modules/xcos/images/palettes/fortran_block.png
scilab/modules/xcos/images/palettes/freq_div.png
scilab/modules/xcos/images/palettes/generic_block3.png
scilab/modules/xcos/images/palettes/scifunc_block_m.png
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/XcosDiagram.java

index 4d2dda8..3ad509c 100644 (file)
@@ -91,6 +91,8 @@ Module skeleton:
 * bug 8658 fixed - Use accentuated characters on file name lead to a modelica
                    compiler error.
 
+* bug 8440 fixed - The SVG background was not exported to SVG.
+
 Localization:
 =============
 
index 98859e1..7ba45ca 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.graph;
 
 import java.awt.Color;
 import java.awt.Graphics2D;
-import java.awt.geom.AffineTransform;
 import java.awt.geom.Dimension2D;
 import java.net.MalformedURLException;
 import java.net.URL;
@@ -60,24 +59,10 @@ public class ScilabCanvas extends mxInteractiveCanvas {
                putTextShape(SupportedLabelType.MathML.name(), new MathMLTextShape());
        }
        
-       private URL svgBackgroundImage; 
+       private URL urlBasePath; 
 
        /** Default constructor */
        public ScilabCanvas() { }
-
-       /**
-        * @param svgBackgroundImage the svgBackgroundImage to set
-        */
-       public void setSvgBackgroundImage(URL svgBackgroundImage) {
-               this.svgBackgroundImage = svgBackgroundImage;
-       }
-
-       /**
-        * @return the svgBackgroundImage
-        */
-       public URL getSvgBackgroundImage() {
-               return svgBackgroundImage;
-       }
        
        /**
         * Get the text shape associated with the text
@@ -226,42 +211,6 @@ public class ScilabCanvas extends mxInteractiveCanvas {
 
                return shape;
        }
-       
-       /**
-        * Paint the background image.
-        * 
-        * @param w background width
-        * @param h background height
-        */
-       public void paintSvgBackgroundImage(int w, int h) {
-               if (svgBackgroundImage == null) {
-                       LogFactory.getLog(ScilabCanvas.class).error("background image not set");
-                       return;
-               }
-               
-               GraphicsNode background = ScilabGraphUtils
-                               .getSVGComponent(svgBackgroundImage);
-
-               if (background == null) {
-                       return;
-               }
-
-               // Scale to the bounds
-               Dimension2D bounds = ScilabGraphUtils.getSVGDocumentSizes(svgBackgroundImage);
-
-               double sh = h / bounds.getHeight();
-               double sw = w / bounds.getWidth();
-
-               AffineTransform scaleTransform = new AffineTransform(new double[] {
-                               sw,   0.0,
-                               0.0,     sh
-               });
-
-               background.setTransform(scaleTransform);
-
-               // Paint
-               background.paint(g);
-       }
 
        /**
         * Paint the foreground image.
@@ -338,21 +287,37 @@ public class ScilabCanvas extends mxInteractiveCanvas {
        }
        
        /**
+        * Set the image path and store the path as a URL.
+        * @param imageBasePath the new path
+        * @see com.mxgraph.canvas.mxBasicCanvas#setImageBasePath(java.lang.String)
+        */
+       @Override
+       public void setImageBasePath(String imageBasePath) {
+               super.setImageBasePath(imageBasePath);
+               
+               try {
+                       this.urlBasePath = new URL(imageBasePath);
+               } catch (MalformedURLException e) {
+                       LogFactory.getLog(ScilabCanvas.class).error(e);
+               }
+       }
+       
+       /**
         * Gets the image path from the given style. If the path is relative (does
         * not start with a slash) then it is appended to the imageBasePath.
         * 
-        * @param style the curernt style
+        * @param style the current style
         * @return the image path
         */
        @Override
        public String getImageForStyle(Map<String, Object> style) {
                String filename = mxUtils.getString(style, mxConstants.STYLE_IMAGE);
 
-               if (filename != null && !filename.startsWith("/") && !filename.startsWith("file:/")) {
-                       filename = imageBasePath + filename;
-               }
+               try {
+                       return new URL(this.urlBasePath, filename).toExternalForm();
+               } catch (MalformedURLException e) {}
 
-               return filename;
+               return null;
        }
 }
 
index b343b80..80c7808 100644 (file)
@@ -54,7 +54,6 @@ public class SvgShape extends mxImageShape {
                        final Rectangle rect = getImageBounds(canvas, state);
                        canvas.getGraphics().translate(rect.x, rect.y);
                        
-                       ((ScilabCanvas) canvas).paintSvgBackgroundImage(rect.width, rect.height);
                        ((ScilabCanvas) canvas).paintSvgForegroundImage(rect.width, rect.height, image);
                } else {
                        super.paintShape(canvas, state);
index 3381a77..4738bc1 100644 (file)
@@ -134,7 +134,6 @@ nobase_libscixcos_la_images_DATA = images/blocks/3DSCOPE.svg \
 images/blocks/ANDBLK.svg \
 images/blocks/ASCOPE.svg \
 images/blocks/BACHE.svg \
-images/blocks/background.svg \
 images/blocks/BPLATFORM.svg \
 images/blocks/Capacitor.svg \
 images/blocks/CCS.svg \
@@ -147,7 +146,6 @@ images/blocks/CVS.svg \
 images/blocks/DEADBAND.svg \
 images/blocks/Diode.svg \
 images/blocks/DSCOPE.svg \
-images/blocks/empty.svg \
 images/blocks/Ground.svg \
 images/blocks/Gyrator.svg \
 images/blocks/HYSTHERESIS.svg \
index 6571958..6b00847 100644 (file)
@@ -543,7 +543,6 @@ nobase_libscixcos_la_images_DATA = images/blocks/3DSCOPE.svg \
 images/blocks/ANDBLK.svg \
 images/blocks/ASCOPE.svg \
 images/blocks/BACHE.svg \
-images/blocks/background.svg \
 images/blocks/BPLATFORM.svg \
 images/blocks/Capacitor.svg \
 images/blocks/CCS.svg \
@@ -556,7 +555,6 @@ images/blocks/CVS.svg \
 images/blocks/DEADBAND.svg \
 images/blocks/Diode.svg \
 images/blocks/DSCOPE.svg \
-images/blocks/empty.svg \
 images/blocks/Ground.svg \
 images/blocks/Gyrator.svg \
 images/blocks/HYSTHERESIS.svg \
index d0b0a3e..e8638a5 100644 (file)
+<?xml version="1.0"?>
 <mxStylesheet>
-<!-- *** OVERLOADING DEFINITION *** -->
-
+  <!-- *** OVERLOADING DEFINITION *** -->
   <add as="defaultVertex">
-    <add as="shape" value="image" />
-    <add as="image" value="$SCILAB/modules/xcos/images/blocks/empty.svg" />
-    <add as="perimeter" value="rectanglePerimeter" />
-    <add as="strokeColor" value="black" />
-    <add as="fillColor" value="white" />
-    <add as="fontColor" value="black" />
+    <add as="shape" value="rectangle"/>
+    <add as="perimeter" value="rectanglePerimeter"/>
+    <add as="strokeColor" value="black"/>
+    <add as="strokeWidth" value="0.5"/>
+    <add as="fillColor" value="white"/>
+    <add as="fontColor" value="black"/>
     <add as="noLabel" value="1"/>
   </add>
-
-<!-- *** GENERIC BLOCKS *** -->
-  
+  <!-- *** GENERIC BLOCKS *** -->
   <add as="block" extend="defaultVertex">
-    <add as="verticalLabelPosition" value="bottom" />
+    <add as="verticalLabelPosition" value="bottom"/>
+    <add as="fillColor" value="#cdcdcd"/>
+    <add as="gradientColor" value="white"/>
+    <add as="rounded" value="1"/>
   </add>
-
   <add as="blockWithLabel" extend="defaultVertex">
     <add as="noLabel" value="0"/>
-       <add as="spacing" value="13" />
+    <add as="spacing" value="13"/>
+    <add as="fillColor" value="#cdcdcd"/>
+    <add as="gradientColor" value="white"/>
+    <add as="rounded" value="1"/>
   </add>
-
-<!-- *** BLOCK DEFINITION *** -->
-
+  <!-- *** BLOCK DEFINITION *** -->
   <!-- Affiche -->
   <add as="Affiche" extend="blockWithLabel"/>
-  
   <add as="Split" extend="block">
     <add as="shape" value="rectangle"/>
     <add as="strokeColor" value="black"/>
     <add as="fillColor" value="orange"/>
+    <remove as="gradientColor"/>
+    <remove as="rounded"/>
   </add>
-
-       <add as="Split" extend="block">
-               <add as="shape" value="rectangle" />
-               <add as="strokeColor" value="black" />
-               <add as="fillColor" value="orange" />
-       </add>
-
-
-       <!-- Label -->
-       <add as="Label" extend="defaultVertex">
-               <add as="shape" value="rectangle" />
-               <add as="perimeter" value="rectanglePerimeter" />
-               <add as="fillColor" value="white" />
-               <add as="fontColor" value="black" />
-               <add as="noLabel" value="0" />
-               <add as="strokeColor" value="white" />
-       </add>
-
-       <!-- Const -->
-       <add as="Const" extend="defaultVertex" />
-
-       <!-- Gain -->
-       <add as="Gain" extend="blockWithLabel">
-               <add as="shape" value="triangle" />
-               <add as="perimeter" value="trianglePerimeter" />
-               <add as="direction" value="east" />
-       </add>
-
-       <!-- Icon -->
-       <add as="Icon" extend="block">
-               <add as="shape" value="image" />
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/background.svg" />
-       </add>
-
-       <!-- *** PORT DEFINITION *** -->
-       <add as="Port" extend="defaultVertex">
-               <add as="shape" value="triangle" />
-               <add as="perimeter" value="trianglePerimeter" />
-               <add as="noLabel" value="0"/>
-       </add>
-
-       <!-- Command Port -->
-       <add as="CommandPort" extend="Port">
-               <add as="strokeColor" value="red" />
-               <add as="fillColor" value="red" />
-               <add as="rotation" value="90" />
-               <add as="type" value="Command" />
-       </add>
-
-       <!-- Control Port -->
-       <add as="ControlPort" extend="Port">
-               <add as="strokeColor" value="red" />
-               <add as="fillColor" value="red" />
-               <add as="rotation" value="90" />
-               <add as="type" value="Control" />
-       </add>
-
-       <!-- Explicit Input -->
-       <add as="ExplicitInputPort" extend="Port">
-               <add as="strokeColor" value="black" />
-               <add as="fillColor" value="black" />
-               <add as="rotation" value="0" />
-       </add>
-
-       <!-- Explicit Output -->
-       <add as="ExplicitOutputPort" extend="Port">
-               <add as="strokeColor" value="black" />
-               <add as="fillColor" value="black" />
-               <add as="rotation" value="0" />
-       </add>
-
-       <!-- Implicit Input -->
-       <add as="ImplicitInputPort" extend="Port">
-               <add as="shape" value="rectangle" />
-               <add as="strokeColor" value="black" />
-               <add as="fillColor" value="black" />
-       </add>
-
-       <!-- Implicit Output -->
-       <add as="ImplicitOutputPort" extend="Port">
-               <add as="shape" value="rectangle" />
-               <add as="strokeColor" value="black" />
-               <add as="fillColor" value="white" />
-       </add>
-
-
-       <!-- *** LINK definition *** -->
-       <add as="defaultEdge">
-               <!--<add as="edgeStyle" value="entityRelationEdgeStyle"/>-->
-               <add as="labelBackgroundColor" value="white" />
-               <!-- To have rounded links -->
-               <!-- <add as="rounded" value="1"/> -->
-               <!-- <add as="edgeStyle" value="elbowEdgeStyle"/> -->
-               <add as="elbow" value="horizontal" />
-               <add as="shape" value="connector" />
-               <add as="labelBackgroundColor" value="white" />
-               <add as="endArrow" value="classicnone" />
-               <add as="fontSize" value="10" />
-               <add as="align" value="center" />
-               <add as="verticalAlign" value="middle" />
-               <add as="strokeColor" value="black" />
-               <add as="perimeter" value="null" />
-       </add>
-       <add as="CommandControlLink" extend="defaultEdge">
-               <add as="strokeColor" value="red" />
-               <add as="elbow" value="vertical" />
-       </add>
-       <add as="ExplicitLink" extend="defaultEdge">
-               <add as="strokeColor" value="blue" />
-       </add>
-       <add as="ImplicitLink" extend="defaultEdge">
-               <add as="strokeColor" value="blue" />
-       </add>
-
-       <!-- SOURCES -->
-       <add as="CONST_m" extend="blockWithLabel" />
-       <add as="CONST_f" extend="blockWithLabel" />
-       <add as="CONST" extend="blockWithLabel" />
-       <add as="GENSQR_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Square wave&lt;BR&gt;
-                                   generator" />
-       </add>
-       <add as="RAMP" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/RAMP.svg" />
-       </add>
-       <add as="RAND_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="Random&lt;BR&gt;
-                                   generator" />
-       </add>
-       <add as="RFILE_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Read from&lt;BR&gt;
-                                   input file" />
-       </add>
-       <add as="CLKINV_f" extend="blockWithLabel">
-               <add as="shape" value="hexagon" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-               <add as="strokeColor" value="red" />
-       </add>
-       <add as="CURV_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Curve" />
-       </add>
-       <add as="INIMPL_f" extend="blockWithLabel">
-               <add as="shape" value="hexagon" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-       </add>
-       <add as="READAU_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Read from .au&lt;BR&gt;
-                                   sound file" />
-       </add>
-       <add as="SAWTOOTH_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Sawtooth&lt;BR&gt;
-                                   generator" />
-       </add>
-       <add as="STEP_FUNCTION" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/STEP_FUNCTION.svg" />
-       </add>
-       <add as="CLOCK_c" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.svg" />
-       </add>
-       <add as="GENSIN_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Sinusoid&lt;BR&gt;
-                                   generator" />
-       </add>
-       <add as="IN_f" extend="blockWithLabel">
-               <add as="shape" value="hexagon" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-       </add>
-       <add as="READC_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Read from&lt;BR&gt;
-                                   C binary file" />
-       </add>
-       <add as="TIME_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_f.svg" />
-       </add>
-       <add as="Modulo_Count" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="displayedLabel" value="Counter&lt;BR&gt;
-                                   Modulo 3" />
-       </add>
-       <add as="Sigbuilder" extend="blockWithLabel">
-               <add as="displayedLabel" value="Signal Builder" />
-       </add>
-       <add as="SampleCLK" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SampleCLK.svg" />
-       </add>
-       <add as="TKSCALE" extend="blockWithLabel">
-               <add as="displayedLabel" value="TK Scale" />
-       </add>
-       <add as="FROMWSB" extend="blockWithLabel">
-               <!-- FIXME : Show workspace under block  -->
-               <add as="displayedLabel" value="From workspace" />
-       </add>
-
-       <!-- CONTINUOUS -->
-       <add as="DERIV" extend="blockWithLabel">
-               <add as="displayedLabel" value="du / dt" />
-       </add>
-       <add as="INTEGRAL_m" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/INTEGRAL.svg" />
-               <!--
+  <!-- Label -->
+  <add as="Label" extend="defaultVertex">
+    <add as="shape" value="rectangle"/>
+    <add as="perimeter" value="rectanglePerimeter"/>
+    <add as="fillColor" value="white"/>
+    <add as="fontColor" value="black"/>
+    <add as="noLabel" value="0"/>
+    <add as="strokeColor" value="white"/>
+  </add>
+  <!-- Const -->
+  <add as="Const" extend="defaultVertex"/>
+  <!-- Gain -->
+  <add as="Gain" extend="blockWithLabel">
+    <add as="shape" value="triangle"/>
+    <add as="perimeter" value="trianglePerimeter"/>
+    <add as="direction" value="east"/>
+  </add>
+  <!-- Icon -->
+  <add as="Icon" extend="block">
+    <add as="shape" value="image"/>
+    <add as="imageBorder" value="black"/>
+  </add>
+  <!-- *** PORT DEFINITION *** -->
+  <add as="Port" extend="defaultVertex">
+    <add as="shape" value="triangle"/>
+    <add as="perimeter" value="trianglePerimeter"/>
+    <add as="noLabel" value="0"/>
+  </add>
+  <!-- Command Port -->
+  <add as="CommandPort" extend="Port">
+    <add as="strokeColor" value="red"/>
+    <add as="fillColor" value="red"/>
+    <add as="rotation" value="90"/>
+    <add as="type" value="Command"/>
+  </add>
+  <!-- Control Port -->
+  <add as="ControlPort" extend="Port">
+    <add as="strokeColor" value="red"/>
+    <add as="fillColor" value="red"/>
+    <add as="rotation" value="90"/>
+    <add as="type" value="Control"/>
+  </add>
+  <!-- Explicit Input -->
+  <add as="ExplicitInputPort" extend="Port">
+    <add as="strokeColor" value="black"/>
+    <add as="fillColor" value="black"/>
+    <add as="rotation" value="0"/>
+  </add>
+  <!-- Explicit Output -->
+  <add as="ExplicitOutputPort" extend="Port">
+    <add as="strokeColor" value="black"/>
+    <add as="fillColor" value="black"/>
+    <add as="rotation" value="0"/>
+  </add>
+  <!-- Implicit Input -->
+  <add as="ImplicitInputPort" extend="Port">
+    <add as="shape" value="rectangle"/>
+    <add as="strokeColor" value="black"/>
+    <add as="fillColor" value="black"/>
+  </add>
+  <!-- Implicit Output -->
+  <add as="ImplicitOutputPort" extend="Port">
+    <add as="shape" value="rectangle"/>
+    <add as="strokeColor" value="black"/>
+    <add as="fillColor" value="white"/>
+  </add>
+  <!-- *** LINK definition *** -->
+  <add as="defaultEdge">
+    <!--<add as="edgeStyle" value="entityRelationEdgeStyle"/>-->
+    <add as="labelBackgroundColor" value="white"/>
+    <!-- To have rounded links -->
+    <!-- <add as="rounded" value="1"/> -->
+    <!-- <add as="edgeStyle" value="elbowEdgeStyle"/> -->
+    <add as="elbow" value="horizontal"/>
+    <add as="shape" value="connector"/>
+    <add as="labelBackgroundColor" value="white"/>
+    <add as="endArrow" value="classicnone"/>
+    <add as="fontSize" value="10"/>
+    <add as="align" value="center"/>
+    <add as="verticalAlign" value="middle"/>
+    <add as="strokeColor" value="black"/>
+    <add as="perimeter" value="null"/>
+  </add>
+  <add as="CommandControlLink" extend="defaultEdge">
+    <add as="strokeColor" value="red"/>
+    <add as="elbow" value="vertical"/>
+  </add>
+  <add as="ExplicitLink" extend="defaultEdge">
+    <add as="strokeColor" value="blue"/>
+  </add>
+  <add as="ImplicitLink" extend="defaultEdge">
+    <add as="strokeColor" value="blue"/>
+  </add>
+  <!-- SOURCES -->
+  <add as="CONST_m" extend="blockWithLabel"/>
+  <add as="CONST_f" extend="blockWithLabel"/>
+  <add as="CONST" extend="blockWithLabel"/>
+  <add as="GENSQR_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Square wave&lt;BR&gt;         generator"/>
+  </add>
+  <add as="RAMP" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/RAMP.svg"/>
+  </add>
+  <add as="RAND_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="Random&lt;BR&gt;         generator"/>
+  </add>
+  <add as="RFILE_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Read from&lt;BR&gt;         input file"/>
+  </add>
+  <add as="CLKINV_f" extend="blockWithLabel">
+    <add as="shape" value="hexagon"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+    <add as="strokeColor" value="red"/>
+  </add>
+  <add as="CURV_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Curve"/>
+  </add>
+  <add as="INIMPL_f" extend="blockWithLabel">
+    <add as="shape" value="hexagon"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+  </add>
+  <add as="READAU_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Read from .au&lt;BR&gt;         sound file"/>
+  </add>
+  <add as="SAWTOOTH_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Sawtooth&lt;BR&gt;         generator"/>
+  </add>
+  <add as="STEP_FUNCTION" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/STEP_FUNCTION.svg"/>
+  </add>
+  <add as="CLOCK_c" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.svg"/>
+  </add>
+  <add as="GENSIN_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Sinusoid&lt;BR&gt;         generator"/>
+  </add>
+  <add as="IN_f" extend="blockWithLabel">
+    <add as="shape" value="hexagon"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+  </add>
+  <add as="READC_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Read from&lt;BR&gt;         C binary file"/>
+  </add>
+  <add as="TIME_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_f.svg"/>
+  </add>
+  <add as="Modulo_Count" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="displayedLabel" value="Counter&lt;BR&gt;         Modulo 3"/>
+  </add>
+  <add as="Sigbuilder" extend="blockWithLabel">
+    <add as="displayedLabel" value="Signal Builder"/>
+  </add>
+  <add as="SampleCLK" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SampleCLK.svg"/>
+  </add>
+  <add as="TKSCALE" extend="blockWithLabel">
+    <add as="displayedLabel" value="TK Scale"/>
+  </add>
+  <add as="FROMWSB" extend="blockWithLabel">
+    <!-- FIXME : Show workspace under block  -->
+    <add as="displayedLabel" value="From workspace"/>
+  </add>
+  <!-- CONTINUOUS -->
+  <add as="DERIV" extend="blockWithLabel">
+    <add as="displayedLabel" value="du / dt"/>
+  </add>
+  <add as="INTEGRAL_m" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/INTEGRAL.svg"/>
+    <!--
                        <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;
                        &#8747; &lt;/FONT&gt;"/>
                -->
-       </add>
-       <add as="INTEGRAL" extend="INTEGRAL_m" />
-       <add as="CLSS" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                   &lt;TR&gt;
-                                   &lt;TD ALIGN=&quot;RIGHT&quot;&gt;xd&lt;/TD&gt;
-                                   &lt;TD&gt;=&lt;/TD&gt;
-                                   &lt;TD&gt;Ax+Bu&lt;/TD&gt;
-                                   &lt;/TR&gt;
-                                   &lt;TR&gt;
-                                   &lt;TD ALIGN=&quot;RIGHT&quot;&gt;y&lt;/TD&gt;
-                                   &lt;TD&gt;=&lt;/TD&gt;
-                                   &lt;TD&gt;Cx+Du&lt;/TD&gt;
-                                   &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-       </add>
-       <add as="CLSS_f" extend="CLSS" />
-       <add as="CLR" extend="blockWithLabel">
-               <add as="displayedLabel" value="num(s)&lt;BR&gt;
-                                   &lt;hr&gt;
-                                   den(s)" />
-       </add>
-       <add as="CLR_f" extend="CLR" />
-       <add as="TIME_DELAY" extend="blockWithLabel">
-               <add as="displayedLabel" value="Continuous&lt;BR&gt;
-                                   fix delay" />
-       </add>
-       <add as="TCLSS" extend="blockWithLabel">
-               <add as="displayedLabel" value="Jump&lt;BR&gt;
-                                   (A,B,C,D)" />
-       </add>
-       <add as="TCLSS_f" extend="TCLSS" />
-       <add as="VARIABLE_DELAY" extend="blockWithLabel">
-               <add as="displayedLabel" value="Variable&lt;BR&gt;
-                                   delay" />
-       </add>
-       <add as="PID" extend="blockWithLabel">
-               <add as="displayedLabel" value="PID" />
-       </add>
-       <add as="INTEGRAL_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="1/s" />
-       </add>
-
-       <!-- DISCONTINUOUS -->
-       <add as="SATURATION" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SATURATION.svg" />
-       </add>
-       <add as="DEADBAND" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/DEADBAND.svg" />
-       </add>
-       <add as="HYSTHERESIS" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/HYSTHERESIS.svg" />
-       </add>
-       <add as="BACKLASH" extend="blockWithLabel">
-               <add as="displayedLabel" value="Backlash" />
-       </add>
-       <add as="RATELIMITER" extend="blockWithLabel">
-               <add as="displayedLabel" value="Rate limiter" />
-       </add>
-       <add as="REGISTER" extend="blockWithLabel">
-               <add as="displayedLabel" value="Shift&lt;BR&gt;
-                                   register" />
-       </add>
-       <add as="DELAYV_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Variable&lt;BR&gt;
-                                   delay" />
-       </add>
-
-       <!-- LOOKUP TABLES -->
-       <add as="LOOKUP_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/DSCOPE.svg" />
-       </add>
-       <add as="INTRP2BLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Interp 2" />
-       </add>
-       <add as="INTRPLBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Interp" />
-       </add>
-
-       <!-- SIGNAL PROCESSING -->
-       <add as="MCLOCK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="2freq clock&lt;BR&gt;
-                                   f/n f" />
-       </add>
-       <add as="QUANT_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/QUANT_f.svg" />
-       </add>
-       <add as="MFCLCK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="M. freq&lt;BR&gt;
-                                   clock" />
-       </add>
-       <add as="SAMPHOLD_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="S / H" />
-       </add>
-       <add as="SAMPLEHOLD_f" extend="SAMPHOLD_m" />
-
-
-       <!-- THRESHOLD -->
-       <add as="NEGTOPOS_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="- to +" />
-       </add>
-       <add as="POSTONEG_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="+ to -" />
-       </add>
-       <add as="ZCROSS_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Zcross" />
-       </add>
-       <add as="GENERAL_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="GENERAL" />
-       </add>
-       <add as="CLINDUMMY_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="DUMMY&lt;BR&gt;
-                                   CLSS" />
-       </add>
-
-       <!-- MATH OPERATIONS -->
-       <add as="MAX_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="MAX" />
-       </add>
-       <add as="MIN_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="MIN" />
-       </add>
-       <add as="BIGSOM_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SUM.svg" />
-               <add as="noLabel" value="1" />
-               <!--
+  </add>
+  <add as="INTEGRAL" extend="INTEGRAL_m"/>
+  <add as="CLSS" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;TABLE&gt;         &lt;TR&gt;         &lt;TD ALIGN=&quot;RIGHT&quot;&gt;xd&lt;/TD&gt;         &lt;TD&gt;=&lt;/TD&gt;         &lt;TD&gt;Ax+Bu&lt;/TD&gt;         &lt;/TR&gt;         &lt;TR&gt;         &lt;TD ALIGN=&quot;RIGHT&quot;&gt;y&lt;/TD&gt;         &lt;TD&gt;=&lt;/TD&gt;         &lt;TD&gt;Cx+Du&lt;/TD&gt;         &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+  </add>
+  <add as="CLSS_f" extend="CLSS"/>
+  <add as="CLR" extend="blockWithLabel">
+    <add as="displayedLabel" value="num(s)&lt;BR&gt;         &lt;hr&gt;         den(s)"/>
+  </add>
+  <add as="CLR_f" extend="CLR"/>
+  <add as="TIME_DELAY" extend="blockWithLabel">
+    <add as="displayedLabel" value="Continuous&lt;BR&gt;         fix delay"/>
+  </add>
+  <add as="TCLSS" extend="blockWithLabel">
+    <add as="displayedLabel" value="Jump&lt;BR&gt;         (A,B,C,D)"/>
+  </add>
+  <add as="TCLSS_f" extend="TCLSS"/>
+  <add as="VARIABLE_DELAY" extend="blockWithLabel">
+    <add as="displayedLabel" value="Variable&lt;BR&gt;         delay"/>
+  </add>
+  <add as="PID" extend="blockWithLabel">
+    <add as="displayedLabel" value="PID"/>
+  </add>
+  <add as="INTEGRAL_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="1/s"/>
+  </add>
+  <!-- DISCONTINUOUS -->
+  <add as="SATURATION" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SATURATION.svg"/>
+  </add>
+  <add as="DEADBAND" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/DEADBAND.svg"/>
+  </add>
+  <add as="HYSTHERESIS" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/HYSTHERESIS.svg"/>
+  </add>
+  <add as="BACKLASH" extend="blockWithLabel">
+    <add as="displayedLabel" value="Backlash"/>
+  </add>
+  <add as="RATELIMITER" extend="blockWithLabel">
+    <add as="displayedLabel" value="Rate limiter"/>
+  </add>
+  <add as="REGISTER" extend="blockWithLabel">
+    <add as="displayedLabel" value="Shift&lt;BR&gt;         register"/>
+  </add>
+  <add as="DELAYV_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Variable&lt;BR&gt;         delay"/>
+  </add>
+  <!-- LOOKUP TABLES -->
+  <add as="LOOKUP_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/DSCOPE.svg"/>
+  </add>
+  <add as="INTRP2BLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Interp 2"/>
+  </add>
+  <add as="INTRPLBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Interp"/>
+  </add>
+  <!-- SIGNAL PROCESSING -->
+  <add as="MCLOCK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="2freq clock&lt;BR&gt;         f/n f"/>
+  </add>
+  <add as="QUANT_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/QUANT_f.svg"/>
+  </add>
+  <add as="MFCLCK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="M. freq&lt;BR&gt;         clock"/>
+  </add>
+  <add as="SAMPHOLD_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="S / H"/>
+  </add>
+  <add as="SAMPLEHOLD_f" extend="SAMPHOLD_m"/>
+  <!-- THRESHOLD -->
+  <add as="NEGTOPOS_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="- to +"/>
+  </add>
+  <add as="POSTONEG_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="+ to -"/>
+  </add>
+  <add as="ZCROSS_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Zcross"/>
+  </add>
+  <add as="GENERAL_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="GENERAL"/>
+  </add>
+  <add as="CLINDUMMY_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="DUMMY&lt;BR&gt;         CLSS"/>
+  </add>
+  <!-- MATH OPERATIONS -->
+  <add as="MAX_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="MAX"/>
+  </add>
+  <add as="MIN_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="MIN"/>
+  </add>
+  <add as="BIGSOM_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SUM.svg"/>
+    <add as="noLabel" value="1"/>
+    <!--
                        <add as="displayedLabel" value="&lt;TABLE&gt;&lt;TR&gt;
                        &lt;TD&gt;+&lt;/TD&gt; &lt;TD ROWSPAN=&quot;2&quot;&gt; &lt;FONT
                        SIZE=&quot;6&quot;&gt;&#8721;&lt;/FONT&gt; &lt;/TD&gt; &lt;/TR&gt;
                        &lt;TR&gt; &lt;TD&gt;+&lt;/TD&gt; &lt;TD/&gt; &lt;/TR&gt;
                        &lt;/TABLE&gt;"/>
                -->
-               <remove as="verticalLabelPosition"/>
-       </add>
-       <add as="POWBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="u^a" />
-       </add>
-       <add as="INVBLK" extend="blockWithLabel">
-               <add as="displayedLabel" value="1/u" />
-       </add>
-       <add as="INVBLK_f" extend="INVBLK" />
-       <add as="SINBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="SIN" />
-       </add>
-       <add as="COSBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="COS" />
-       </add>
-       <add as="TANBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="TAN" />
-       </add>
-       <add as="MATDIV" extend="blockWithLabel">
-               <add as="displayedLabel" value="A / B" />
-       </add>
-       <add as="EXPBLK_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="a^u" />
-       </add>
-       <add as="PROD_f" extend="blockWithLabel">
-               <add as="shape" value="ellipse"/>
-               <remove as="image" />
-               <add as="fontSize" value="20" />
-       </add>
-       <add as="MATZREIM" extend="blockWithLabel">
-               <add as="displayedLabel" value="Re &amp; Im" />
-       </add>
-       <add as="MATMAGPHI" extend="blockWithLabel">
-               <add as="displayedLabel" value="Mag &amp; Phi" />
-       </add>
-       <add as="SQRT" extend="blockWithLabel" />
-       <add as="GAINBLK_f" extend="Gain" />
-       <add as="LOGBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="LOG" />
-       </add>
-       <add as="SUMMATION" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SUM.svg" />
-               <add as="noLabel" value="1" />
-               <!--
+    <remove as="verticalLabelPosition"/>
+  </add>
+  <add as="POWBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="u^a"/>
+  </add>
+  <add as="INVBLK" extend="blockWithLabel">
+    <add as="displayedLabel" value="1/u"/>
+  </add>
+  <add as="INVBLK_f" extend="INVBLK"/>
+  <add as="SINBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="SIN"/>
+  </add>
+  <add as="COSBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="COS"/>
+  </add>
+  <add as="TANBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="TAN"/>
+  </add>
+  <add as="MATDIV" extend="blockWithLabel">
+    <add as="displayedLabel" value="A / B"/>
+  </add>
+  <add as="EXPBLK_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="a^u"/>
+  </add>
+  <add as="PROD_f" extend="blockWithLabel">
+    <add as="shape" value="ellipse"/>
+    <remove as="image"/>
+    <add as="fontSize" value="20"/>
+  </add>
+  <add as="MATZREIM" extend="blockWithLabel">
+    <add as="displayedLabel" value="Re &amp; Im"/>
+  </add>
+  <add as="MATMAGPHI" extend="blockWithLabel">
+    <add as="displayedLabel" value="Mag &amp; Phi"/>
+  </add>
+  <add as="SQRT" extend="blockWithLabel"/>
+  <add as="GAINBLK_f" extend="Gain"/>
+  <add as="LOGBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="LOG"/>
+  </add>
+  <add as="SUMMATION" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SUM.svg"/>
+    <add as="noLabel" value="1"/>
+    <!--
                        <add as="displayedLabel" value="&lt;TABLE&gt; &lt;TR&gt;
                        &lt;TD&gt;+&lt;/TD&gt; &lt;TD ROWSPAN=&quot;2&quot;&gt; &lt;FONT
                        SIZE=&quot;6&quot;&gt;&#8721;&lt;/FONT&gt; &lt;TD&gt; &lt;/TR&gt;
                        &lt;TR&gt; &lt;TD&gt;-&lt;/TD&gt; &lt;TD/&gt; &lt;/TR&gt;
                        &lt;/TABLE&gt;"/>
                -->
-       </add>
-       <add as="TrigFun" extend="blockWithLabel">
-               <add as="displayedLabel" value="Trig function" />
-       </add>
-       <add as="PRODUCT" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/PRODUCT.svg" />
-               <add as="noLabel" value="1" />
-               <!--
+  </add>
+  <add as="TrigFun" extend="blockWithLabel">
+    <add as="displayedLabel" value="Trig function"/>
+  </add>
+  <add as="PRODUCT" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/PRODUCT.svg"/>
+    <add as="noLabel" value="1"/>
+    <!--
                        <add as="displayedLabel" value="&lt;TABLE&gt; &lt;TR&gt;
                        &lt;TD&gt;*&lt;/TD&gt; &lt;TD ROWSPAN=&quot;2&quot;&gt; &lt;FONT
                        SIZE=&quot;6&quot;&gt;&#8719;&lt;/FONT&gt; &lt;TD&gt; &lt;/TR&gt;
                        &lt;TR&gt; &lt;TD&gt;/&lt;/TD&gt; &lt;TD/&gt; &lt;/TR&gt;
                        &lt;/TABLE&gt;"/>
                -->
-       </add>
-       <add as="MAXMIN" extend="blockWithLabel">
-               <add as="displayedLabel" value="MIN / MAX" />
-       </add>
-       <add as="ABS_VALUE" extend="blockWithLabel">
-               <add as="displayedLabel" value="ABS" />
-       </add>
-       <add as="SIGNUM" extend="blockWithLabel">
-               <add as="displayedLabel" value="SIGN" />
-       </add>
-       <add as="SUM_f" extend="blockWithLabel">
-               <add as="shape" value="ellipse"/>
-               <remove as="image" />
-               <add as="fontSize" value="20" />
-       </add>
-       
-       <add as="CONSTRAINT_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="=0 ?" />
-       </add>
-
-       <!-- MODELICA -->
-       <add as="MBLOCK" extend="blockWithLabel">
-               <add as="displayedLabel" value="Modelica&lt;BR;&gt;
-                                   generic" />
-       </add>
-       <add as="FROMMO" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="rounded" value="1" />
-               <add as="shape" value="rectangle" />
-       </add>
-       <add as="GOTOMO" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="rounded" value="1" />
-               <add as="shape" value="rectangle" />
-       </add>
-       <add as="GotoTagVisibilityMO" extend="blockWithLabel">
-               <!-- TODO: icon to be verified -->
-               <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;{%s}&lt;/FONT&gt;" />
-               <add as="shape" value="ellipse" />
-               <add as="strokeColor" value="green" />
-       </add>
-       <add as="OUTIMPL_f" extend="blockWithLabel">
-               <add as="shape" value="hexagon" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-       </add>
-
-       <!-- INTEGER -->
-       <add as="BITCLEAR" extend="blockWithLabel">
-               <add as="displayedLabel" value="Clear bit" />
-               <!-- FIXME : Show parameters over block  -->
-       </add>
-       <add as="BITSET" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="displayedLabel" value="Set bit" />
-       </add>
-       <add as="CONVERT" extend="blockWithLabel">
-               <add as="displayedLabel" value="Convert to" />
-               <!-- FIXME : Show parameters over block  -->
-       </add>
-       <add as="EXTRACTBITS" extend="blockWithLabel">
-               <add as="displayedLabel" value="Extract Bits" />
-               <!-- FIXME : Show parameters over block  -->
-       </add>
-       <add as="INTMUL" extend="blockWithLabel">
-               <add as="displayedLabel" value="INTMUL" />
-       </add>
-       <add as="SHIFT" extend="blockWithLabel">
-               <add as="displayedLabel" value="Arithmetic&lt;BR&gt;
-                                   shift" />
-       </add>
-       <add as="LOGIC" extend="blockWithLabel">
-               <add as="displayedLabel" value="LOGIC" />
-       </add>
-       <add as="DLATCH" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;D&lt;/TD&gt;
-                                       &lt;TD&gt;Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;C&lt;/TD&gt;
-                                       &lt;TD&gt;!Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-       </add>
-       <add as="DFLIPFLOP" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;D&lt;/TD&gt;
-                                       &lt;TD/&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD/&gt;
-                                       &lt;TD&gt;Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;clk&lt;/TD&gt;
-                                       &lt;TD/&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD/&gt;
-                                       &lt;TD&gt;!Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;en&lt;/TD&gt;
-                                       &lt;TD/&gt;
-                                     &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-       </add>
-       <add as="JKFLIPFLOP" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;J&lt;/TD&gt;
-                                       &lt;TD/&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD/&gt;
-                                       &lt;TD&gt;Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;clk&lt;/TD&gt;
-                                       &lt;TD/&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD/&gt;
-                                       &lt;TD&gt;!Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;K&lt;/TD&gt;
-                                       &lt;TD/&gt;
-                                     &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-       </add>
-       <add as="SRFLIPFLOP" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;S&lt;/TD&gt;
-                                       &lt;TD&gt;Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;R&lt;/TD&gt;
-                                       &lt;TD&gt;!Q&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-       </add>
-
-       <!-- MATRIX -->
-       <add as="CUMSUM" extend="blockWithLabel">
-               <add as="displayedLabel" value="CUMSUM" />
-       </add>
-       <add as="SUBMAT" extend="blockWithLabel" />
-       <add as="MATBKSL" extend="blockWithLabel">
-               <add as="displayedLabel" value="A \ B" />
-       </add>
-       <add as="MATINV" extend="blockWithLabel">
-               <add as="displayedLabel" value="INV" />
-       </add>
-       <add as="MATCATV" extend="blockWithLabel">
-               <add as="displayedLabel" value="Vert&lt;BR&gt;
-                                   Cat" />
-       </add>
-       <add as="MATSUM" extend="blockWithLabel" />
-       <add as="RICC" extend="blockWithLabel" />
-       <add as="ROOTCOEF" extend="blockWithLabel">
-               <add as="displayedLabel" value="ROOT / COEF" />
-       </add>
-       <add as="MATCATH" extend="blockWithLabel">
-               <add as="displayedLabel" value="Horiz&lt;BR&gt;
-                                   Cat" />
-       </add>
-       <add as="MATLU" extend="blockWithLabel">
-               <add as="displayedLabel" value="LU" />
-       </add>
-       <add as="MATZCONJ" extend="blockWithLabel">
-               <add as="displayedLabel" value="CONJ" />
-       </add>
-       <add as="EXTRACT" extend="blockWithLabel" />
-       <add as="MATEXPM" extend="blockWithLabel">
-               <add as="displayedLabel" value="EXPM" />
-       </add>
-       <add as="MATDET" extend="blockWithLabel">
-               <add as="displayedLabel" value="DET" />
-       </add>
-       <add as="MATPINV" extend="blockWithLabel">
-               <add as="displayedLabel" value="PINV" />
-       </add>
-       <add as="EXTTRI" extend="blockWithLabel">
-               <add as="displayedLabel" value="Tri/Diag&lt;BR&gt;
-                                   Extraction" />
-       </add>
-       <add as="MATMUL" extend="blockWithLabel" />
-       <add as="MATTRAN" extend="blockWithLabel" />
-       <add as="MATSING" extend="blockWithLabel">
-               <add as="displayedLabel" value="SVD" />
-       </add>
-       <add as="MATRESH" extend="blockWithLabel">
-               <add as="displayedLabel" value="RESHAPE" />
-       </add>
-       <add as="MATDIAG" extend="blockWithLabel">
-               <add as="displayedLabel" value="DIAG" />
-       </add>
-       <add as="MATEIG" extend="blockWithLabel">
-               <add as="displayedLabel" value="EIG" />
-       </add>
-
-       <!-- SINKS -->
-       <add as="CFSCOPE" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/ASCOPE.svg" />
-       </add>
-       <add as="CANIMXY" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/3DSCOPE.svg" />
-       </add>
-       <add as="CSCOPE" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/ASCOPE.svg" />
-       </add>
-       <add as="CSCOPXY" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CSCOPXY.svg" />
-       </add>
-       <add as="TOWS_c" extend="blockWithLabel">
-               <!-- FIXME : Show workspace under block  -->
-               <add as="displayedLabel" value="To workspace" />
-       </add>
-       <add as="CMAT3D" extend="blockWithLabel">
-               <add as="displayedLabel" value="Mat. 3D" />
-       </add>
-       <add as="CSCOPXY3D" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CSCOPXY.svg" />
-       </add>
-       <add as="CANIMXY3D" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/3DSCOPE.svg" />
-       </add>
-       <add as="CMATVIEW" extend="blockWithLabel">
-               <add as="displayedLabel" value="Mat. View" />
-       </add>
-       <add as="CMSCOPE" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/ASCOPE.svg" />
-       </add>
-       <add as="AFFICH_m" extend="Affiche" />
-       <add as="AFFICH_f" extend="Affiche" />
-       <add as="TRASH_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Trash" />
-       </add>
-
-       <!-- PORT ACTION -->
-       <add as="Extract_Activation" extend="blockWithLabel">
-               <add as="displayedLabel" value="Extract&lt;BR&gt;
-                                   activation" />
-       </add>
-       <add as="IFTHEL_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="if in&gt;0&lt;BR&gt;
-                                   then else" />
-       </add>
-       <add as="ESELECT_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Event select" />
-       </add>
-       <add as="EDGE_TRIGGER" extend="blockWithLabel">
-               <add as="displayedLabel" value="Edge&lt;BR&gt;
-                                   trigger" />
-       </add>
-
-       <!-- DISCRETE -->
-       <add as="DLRADAPT_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="N(z,p)&lt;BR&gt;
-                                   &lt;HR&gt;
-                                   D(z,p)" />
-       </add>
-       <add as="DLR" extend="blockWithLabel">
-               <add as="displayedLabel" value="num(z)&lt;BR&gt;
-                                   &lt;HR&gt;
-                                   den(z)" />
-       </add>
-       <add as="DLR_f" extend="DLR" />
-       <add as="DLSS" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD ALIGN=&quot;RIGHT&quot;&gt;x&lt;/TD&gt;
-                                       &lt;TD ALIGN=&quot;CENTER&quot;&gt;+=&lt;/TD&gt;
-                                       &lt;TD&gt;Ax+Bu&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD ALIGN=&quot;RIGHT&quot;&gt;y&lt;/TD&gt;
-                                       &lt;TD ALIGN=&quot;CENTER&quot;&gt;=&lt;/TD&gt;
-                                       &lt;TD&gt;Cx+Du&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-       </add>
-
-       <add as="DELAY_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Delay" />
-       </add>
-       <add as="DOLLAR_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="1/z" />
-       </add>
-       <add as="DOLLAR" extend="DOLLAR_f" />
-
-       <!-- EVENTS -->
-       <add as="CLKFROM" extend="blockWithLabel">
-               <add as="shape" value="rectangle" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-               <add as="strokeColor" value="red" />
-       </add>
-       <add as="CLKGOTO" extend="blockWithLabel">
-               <add as="shape" value="rectangle" />
-               <add as="rounded" value="1" />
-               <add as="strokeColor" value="red" />
-       </add>
-       <add as="CLKGotoTagVisibility" extend="blockWithLabel">
-               <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;{%s}&lt;/FONT&gt;" />
-               <add as="shape" value="ellipse" />
-               <add as="strokeColor" value="red" />
-       </add>
-       <add as="CLKOUTV_f" extend="blockWithLabel">
-               <add as="shape" value="hexagon" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-               <add as="strokeColor" value="red" />
-       </add>
-       <add as="CLKSOMV_f" extend="blockWithLabel">
-               <add as="shape" value="ellipse"/>
-               <add as="displayedLabel" value="+" />
-               <add as="fontColor" value="red" />
-               <add as="strokeColor" value="red" />
-               <add as="fontSize" value="20" />
-               <add as="spacing" value="5" />
-               <add as="spacingLeft" value="6" />
-               <add as="spacingRight" value="6" />
-       </add>
-       <add as="EVTGEN_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Event at&lt;BR&gt;
-                                   time 0" />
-               <!-- FIXME : Show parameters over block  -->
-       </add>
-       <add as="EVTVARDLY" extend="blockWithLabel">
-               <add as="displayedLabel" value="Event&lt;BR&gt;
-                                   delay" />
-       </add>
-       <add as="M_freq" extend="blockWithLabel">
-               <add as="displayedLabel" value="Multiple&lt;BR&gt;
-                                   frequency" />
-       </add>
-       <add as="ANDBLK" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/ANDBLK.svg" />
-       </add>
-       <add as="HALT_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="STOP" />
-       </add>
-       <add as="freq_div" extend="blockWithLabel">
-               <add as="displayedLabel" value="Frequency&lt;BR&gt;
-                                   division" />
-       </add>
-       <add as="ANDLOG_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="LOGICAL&lt;BR&gt;
-                                   AND" />
-       </add>
-       <add as="EVTDLY_c" extend="blockWithLabel">
-               <add as="displayedLabel" value="Delay" />
-               <!-- FIXME : Show parameters over block  -->
-       </add>
-       <add as="CEVENTSCOPE" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/DSCOPE.svg" />
-       </add>
-
-       <!-- SIGNAL ROUTING -->
-       <add as="ISELECT_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="Selector" />
-       </add>
-       <add as="RELAY_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Relay" />
-       </add>
-       <add as="WRITEAU_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Write AU to&lt;BR&gt;
-                                   /dev/audio" />
-       </add>
-       <add as="SELECT_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="Selector" />
-       </add>
-       <add as="SELECT_f" extend="SELECT_m" />
-       <add as="EXTRACTOR" extend="blockWithLabel">
-               <add as="displayedLabel" value="Extractor" />
-       </add>
-       <add as="M_SWITCH" extend="blockWithLabel">
-               <add as="displayedLabel"
-                       value="Control&lt;BR&gt;
-                                   M_Port&lt;BR&gt;
-                                   Switch" />
-       </add>
-       <add as="SWITCH_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="SWITCH&lt;BR&gt;
-                                   1" />
-               <!-- FIXME : Show parameters over block  -->
-       </add>
-       <add as="SWITCH2_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="SWITCH" />
-       </add>
-       <add as="NRMSOM_f" extend="blockWithLabel">
-               <add as="verticalLabelPosition" value="bottom" />
-               <add as="verticalAlign" value="top" />
-               <add as="displayedLabel" value="Bus creator" />
-       </add>
-       <add as="WRITEC_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Write to&lt;BR&gt;C binary file" />
-       </add>
-       <add as="GOTO" extend="blockWithLabel">
-               <add as="rounded" value="1" />
-               <add as="shape" value="rectangle" />
-       </add>
-       <add as="GotoTagVisibility" extend="blockWithLabel">
-               <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;{%s}&lt;/FONT&gt;" />
-       </add>
-       <add as="FROM" extend="blockWithLabel">
-               <add as="rounded" value="1" />
-               <add as="shape" value="rectangle" />
-       </add>
-       <add as="WFILE_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Write to&lt;BR&gt;
-                                   output file" />
-       </add>
-       <add as="MUX" extend="blockWithLabel">
-               <add as="verticalLabelPosition" value="bottom" />
-               <add as="verticalAlign" value="top" />
-               <add as="displayedLabel" value="MUX" />
-       </add>
-       <add as="DEMUX" extend="blockWithLabel">
-               <add as="verticalLabelPosition" value="bottom" />
-               <add as="verticalAlign" value="top" />
-               <add as="displayedLabel" value="DEMUX" />
-       </add>
-
-       <!-- COMMONLY USED BLOCKS -->
-       <add as="OUT_f" extend="blockWithLabel">
-               <add as="shape" value="hexagon" />
-               <add as="rounded" value="1" />
-               <add as="fillColor" value="white" />
-       </add>
-       <add as="RELATIONALOP" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="displayedLabel" value="Relational&lt;BR&gt;
-                                   op : &amp;&lt;" />
-       </add>
-       <add as="TEXT_f" extend="Label">
-               <!-- <add as="displayedLabel" value="Text"/>  -->
-               <add as="strokeColor" value="none" />
-               <add as="fillColor" value="none" />
-       </add>
-
-       <!-- USER-DEFINED FUNCTIONS -->
-       <add as="PDE" extend="blockWithLabel" />
-       <add as="fortran_block" extend="blockWithLabel">
-               <add as="displayedLabel" value="Fortran" />
-       </add>
-       <add as="DEBUG_SCICOS" extend="blockWithLabel">
-               <add as="displayedLabel" value="Debug" />
-       </add>
-       <add as="EXPRESSION" extend="blockWithLabel">
-               <add as="displayedLabel" value="Mathematical&lt;BR&gt;
-                                   expression" />
-       </add>
-       <add as="scifunc_block_m" extend="blockWithLabel">
-               <add as="displayedLabel" value="Scifunc" />
-       </add>
-       <add as="scifunc_block" extend="scifunc_block_m" />
-       <add as="CBLOCK" extend="blockWithLabel">
-               <add as="displayedLabel" value="C block 2" />
-       </add>
-       <add as="generic_block3" extend="blockWithLabel">
-               <add as="displayedLabel" value="GENERIC" />
-       </add>
-       <add as="c_block" extend="blockWithLabel">
-               <add as="displayedLabel" value="C block" />
-       </add>
-       <add as="SUPER_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SUPER.svg" />
-       </add>
-       <add as="DSUPER" extend="SUPER_f" />
-
-       <!-- ELECTRICAL -->
-       <add as="Capacitor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/Capacitor.svg" />
-       </add>
-       <add as="Ground" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/Ground.svg" />
-       </add>
-       <add as="VVsourceAC" extend="blockWithLabel">
-               <add as="shape" value="ellipse" />
-               <add as="perimeter" value="ellipsePerimeter" />
-               <add as="displayedLabel"
-                       value="1 V&lt;br/&gt;~ %s" />
-       </add>
-       <add as="ConstantVoltage" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/ConstantVoltage.svg" />
-       </add>
-       <add as="Inductor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/Inductor.svg" />
-       </add>
-       <add as="PotentialSensor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/PotentialSensor.svg" />
-       </add>
-       <add as="VariableResistor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/VariableResistor.svg" />
-       </add>
-       <add as="CurrentSensor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CurrentSensor.svg" />
-       </add>
-       <add as="Resistor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/Resistor.svg" />
-       </add>
-       <add as="VoltageSensor" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/VoltageSensor.svg" />
-       </add>
-       <add as="Diode" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/Diode.svg" />
-       </add>
-       <add as="VsourceAC" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="shape" value="ellipse" />
-               <add as="perimeter" value="ellipsePerimeter" />
-               <add as="textAlign" value="center" />
-               <add as="displayedLabel"
-                       value="%s V&lt;br/&gt;~ %s" />
-       </add>
-       <add as="NPN" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/NPN.svg" />
-       </add>
-       <add as="PNP" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/PNP.svg" />
-       </add>
-       <add as="SineVoltage" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="shape" value="ellipse" />
-               <add as="perimeter" value="ellipsePerimeter" />
-               <add as="displayedLabel"
-                       value="%s V&lt;br/&gt;~" />
-       </add>
-       <add as="Switch" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SWITCH.svg" />
-       </add>
-       <add as="OpAmp" extend="blockWithLabel">
-               <add as="shape" value="triangle" />
-               <add as="perimeter" value="trianglePerimeter" />
-               <add as="direction" value="east" />
-               <add as="displayedLabel"
-                       value="&lt;TABLE&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;+&lt;/TD&gt;
-                                       &lt;TD&gt;&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;&lt;/TD&gt;
-                                       &lt;TD&gt;OP&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                     &lt;TR&gt;
-                                       &lt;TD&gt;-&lt;/TD&gt;
-                                       &lt;TD&gt;&lt;/TD&gt;
-                                     &lt;/TR&gt;
-                                   &lt;/TABLE&gt;" />
-               <add as="spacing" value="0" />
-               <add as="spacingRight" value="5" />
-               <add as="spacingTop" value="7" />
-               <add as="spacingBottom" value="7" />
-       </add>
-       <add as="PMOS" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/PMOS.svg" />
-       </add>
-       <add as="NMOS" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/NMOS.svg" />
-       </add>
-       <add as="CCS" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CCS.svg" />
-       </add>
-       <add as="CVS" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CVS.svg" />
-       </add>
-       <add as="IdealTransformer" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/IdealTransformer.svg" />
-       </add>
-       <add as="Gyrator" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/Gyrator.svg" />
-       </add>
-
-       <!-- THERMO-HYDRAULICS -->
-       <add as="Bache" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/BACHE.svg" />
-       </add>
-       <add as="VanneReglante" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/VanneReglante.svg" />
-       </add>
-       <add as="PerteDP" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/PerteDP.svg" />
-       </add>
-       <add as="PuitsP" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/PuitP.svg" />
-       </add>
-       <add as="SourceP" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/SourceP.svg" />
-       </add>
-
-       <!-- DEMONSTRATION BLOCKS -->
-       <add as="BOUNCE" extend="blockWithLabel">
-               <add as="displayedLabel" value="Bouncing&lt;BR&gt;
-                                   balls" />
-       </add>
-       <add as="BOUNCEXY" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/3DSCOPE.svg" />
-       </add>
-       <add as="BPLATFORM" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/BPLATFORM.svg" />
-       </add>
-       <add as="AUTOMAT" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="displayedLabel" value="Automaton&lt;BR&gt;
-                                   nM=2, nX=1" />
-       </add>
-
-       <!-- GENERATED BLOCKS -->
-       <add as="SPLIT_f" extend="Split" />
-       <!--
+  </add>
+  <add as="MAXMIN" extend="blockWithLabel">
+    <add as="displayedLabel" value="MIN / MAX"/>
+  </add>
+  <add as="ABS_VALUE" extend="blockWithLabel">
+    <add as="displayedLabel" value="ABS"/>
+  </add>
+  <add as="SIGNUM" extend="blockWithLabel">
+    <add as="displayedLabel" value="SIGN"/>
+  </add>
+  <add as="SUM_f" extend="blockWithLabel">
+    <add as="shape" value="ellipse"/>
+    <remove as="image"/>
+    <add as="fontSize" value="20"/>
+  </add>
+  <add as="CONSTRAINT_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="=0 ?"/>
+  </add>
+  <!-- MODELICA -->
+  <add as="MBLOCK" extend="blockWithLabel">
+    <add as="displayedLabel" value="Modelica&lt;BR;&gt;         generic"/>
+  </add>
+  <add as="FROMMO" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="rounded" value="1"/>
+    <add as="shape" value="rectangle"/>
+  </add>
+  <add as="GOTOMO" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="rounded" value="1"/>
+    <add as="shape" value="rectangle"/>
+  </add>
+  <add as="GotoTagVisibilityMO" extend="blockWithLabel">
+    <!-- TODO: icon to be verified -->
+    <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;{%s}&lt;/FONT&gt;"/>
+    <add as="shape" value="ellipse"/>
+    <add as="strokeColor" value="green"/>
+  </add>
+  <add as="OUTIMPL_f" extend="blockWithLabel">
+    <add as="shape" value="hexagon"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+  </add>
+  <!-- INTEGER -->
+  <add as="BITCLEAR" extend="blockWithLabel">
+    <add as="displayedLabel" value="Clear bit"/>
+    <!-- FIXME : Show parameters over block  -->
+  </add>
+  <add as="BITSET" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="displayedLabel" value="Set bit"/>
+  </add>
+  <add as="CONVERT" extend="blockWithLabel">
+    <add as="displayedLabel" value="Convert to"/>
+    <!-- FIXME : Show parameters over block  -->
+  </add>
+  <add as="EXTRACTBITS" extend="blockWithLabel">
+    <add as="displayedLabel" value="Extract Bits"/>
+    <!-- FIXME : Show parameters over block  -->
+  </add>
+  <add as="INTMUL" extend="blockWithLabel">
+    <add as="displayedLabel" value="INTMUL"/>
+  </add>
+  <add as="SHIFT" extend="blockWithLabel">
+    <add as="displayedLabel" value="Arithmetic&lt;BR&gt;         shift"/>
+  </add>
+  <add as="LOGIC" extend="blockWithLabel">
+    <add as="displayedLabel" value="LOGIC"/>
+  </add>
+  <add as="DLATCH" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;TABLE&gt;           &lt;TR&gt;             &lt;TD&gt;D&lt;/TD&gt;      &lt;TD&gt;Q&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;C&lt;/TD&gt;      &lt;TD&gt;!Q&lt;/TD&gt;           &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+  </add>
+  <add as="DFLIPFLOP" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;TABLE&gt;           &lt;TR&gt;             &lt;TD&gt;D&lt;/TD&gt;             &lt;TD/&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD/&gt;      &lt;TD&gt;Q&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;clk&lt;/TD&gt;      &lt;TD/&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD/&gt;      &lt;TD&gt;!Q&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;en&lt;/TD&gt;      &lt;TD/&gt;           &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+  </add>
+  <add as="JKFLIPFLOP" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;TABLE&gt;           &lt;TR&gt;             &lt;TD&gt;J&lt;/TD&gt;      &lt;TD/&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD/&gt;             &lt;TD&gt;Q&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;clk&lt;/TD&gt;             &lt;TD/&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD/&gt;             &lt;TD&gt;!Q&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;K&lt;/TD&gt;             &lt;TD/&gt;           &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+  </add>
+  <add as="SRFLIPFLOP" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;TABLE&gt;           &lt;TR&gt;             &lt;TD&gt;S&lt;/TD&gt;             &lt;TD&gt;Q&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;R&lt;/TD&gt;             &lt;TD&gt;!Q&lt;/TD&gt;           &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+  </add>
+  <!-- MATRIX -->
+  <add as="CUMSUM" extend="blockWithLabel">
+    <add as="displayedLabel" value="CUMSUM"/>
+  </add>
+  <add as="SUBMAT" extend="blockWithLabel"/>
+  <add as="MATBKSL" extend="blockWithLabel">
+    <add as="displayedLabel" value="A \ B"/>
+  </add>
+  <add as="MATINV" extend="blockWithLabel">
+    <add as="displayedLabel" value="INV"/>
+  </add>
+  <add as="MATCATV" extend="blockWithLabel">
+    <add as="displayedLabel" value="Vert&lt;BR&gt;         Cat"/>
+  </add>
+  <add as="MATSUM" extend="blockWithLabel"/>
+  <add as="RICC" extend="blockWithLabel"/>
+  <add as="ROOTCOEF" extend="blockWithLabel">
+    <add as="displayedLabel" value="ROOT / COEF"/>
+  </add>
+  <add as="MATCATH" extend="blockWithLabel">
+    <add as="displayedLabel" value="Horiz&lt;BR&gt;         Cat"/>
+  </add>
+  <add as="MATLU" extend="blockWithLabel">
+    <add as="displayedLabel" value="LU"/>
+  </add>
+  <add as="MATZCONJ" extend="blockWithLabel">
+    <add as="displayedLabel" value="CONJ"/>
+  </add>
+  <add as="EXTRACT" extend="blockWithLabel"/>
+  <add as="MATEXPM" extend="blockWithLabel">
+    <add as="displayedLabel" value="EXPM"/>
+  </add>
+  <add as="MATDET" extend="blockWithLabel">
+    <add as="displayedLabel" value="DET"/>
+  </add>
+  <add as="MATPINV" extend="blockWithLabel">
+    <add as="displayedLabel" value="PINV"/>
+  </add>
+  <add as="EXTTRI" extend="blockWithLabel">
+    <add as="displayedLabel" value="Tri/Diag&lt;BR&gt;         Extraction"/>
+  </add>
+  <add as="MATMUL" extend="blockWithLabel"/>
+  <add as="MATTRAN" extend="blockWithLabel"/>
+  <add as="MATSING" extend="blockWithLabel">
+    <add as="displayedLabel" value="SVD"/>
+  </add>
+  <add as="MATRESH" extend="blockWithLabel">
+    <add as="displayedLabel" value="RESHAPE"/>
+  </add>
+  <add as="MATDIAG" extend="blockWithLabel">
+    <add as="displayedLabel" value="DIAG"/>
+  </add>
+  <add as="MATEIG" extend="blockWithLabel">
+    <add as="displayedLabel" value="EIG"/>
+  </add>
+  <!-- SINKS -->
+  <add as="CFSCOPE" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/ASCOPE.svg"/>
+  </add>
+  <add as="CANIMXY" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/3DSCOPE.svg"/>
+  </add>
+  <add as="CSCOPE" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/ASCOPE.svg"/>
+  </add>
+  <add as="CSCOPXY" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CSCOPXY.svg"/>
+  </add>
+  <add as="TOWS_c" extend="blockWithLabel">
+    <!-- FIXME : Show workspace under block  -->
+    <add as="displayedLabel" value="To workspace"/>
+  </add>
+  <add as="CMAT3D" extend="blockWithLabel">
+    <add as="displayedLabel" value="Mat. 3D"/>
+  </add>
+  <add as="CSCOPXY3D" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CSCOPXY.svg"/>
+  </add>
+  <add as="CANIMXY3D" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/3DSCOPE.svg"/>
+  </add>
+  <add as="CMATVIEW" extend="blockWithLabel">
+    <add as="displayedLabel" value="Mat. View"/>
+  </add>
+  <add as="CMSCOPE" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/ASCOPE.svg"/>
+  </add>
+  <add as="AFFICH_m" extend="Affiche"/>
+  <add as="AFFICH_f" extend="Affiche"/>
+  <add as="TRASH_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Trash"/>
+  </add>
+  <!-- PORT ACTION -->
+  <add as="Extract_Activation" extend="blockWithLabel">
+    <add as="displayedLabel" value="Extract&lt;BR&gt;         activation"/>
+  </add>
+  <add as="IFTHEL_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="if in&gt;0&lt;BR&gt;         then else"/>
+  </add>
+  <add as="ESELECT_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Event select"/>
+  </add>
+  <add as="EDGE_TRIGGER" extend="blockWithLabel">
+    <add as="displayedLabel" value="Edge&lt;BR&gt;         trigger"/>
+  </add>
+  <!-- DISCRETE -->
+  <add as="DLRADAPT_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="N(z,p)&lt;BR&gt;         &lt;HR&gt;         D(z,p)"/>
+  </add>
+  <add as="DLR" extend="blockWithLabel">
+    <add as="displayedLabel" value="num(z)&lt;BR&gt;         &lt;HR&gt;         den(z)"/>
+  </add>
+  <add as="DLR_f" extend="DLR"/>
+  <add as="DLSS" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;TABLE&gt;           &lt;TR&gt;             &lt;TD ALIGN=&quot;RIGHT&quot;&gt;x&lt;/TD&gt;             &lt;TD ALIGN=&quot;CENTER&quot;&gt;+=&lt;/TD&gt;             &lt;TD&gt;Ax+Bu&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD ALIGN=&quot;RIGHT&quot;&gt;y&lt;/TD&gt;             &lt;TD ALIGN=&quot;CENTER&quot;&gt;=&lt;/TD&gt;             &lt;TD&gt;Cx+Du&lt;/TD&gt;           &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+  </add>
+  <add as="DELAY_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Delay"/>
+  </add>
+  <add as="DOLLAR_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="1/z"/>
+  </add>
+  <add as="DOLLAR" extend="DOLLAR_f"/>
+  <!-- EVENTS -->
+  <add as="CLKFROM" extend="blockWithLabel">
+    <add as="shape" value="rectangle"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+    <add as="strokeColor" value="red"/>
+  </add>
+  <add as="CLKGOTO" extend="blockWithLabel">
+    <add as="shape" value="rectangle"/>
+    <add as="rounded" value="1"/>
+    <add as="strokeColor" value="red"/>
+  </add>
+  <add as="CLKGotoTagVisibility" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;{%s}&lt;/FONT&gt;"/>
+    <add as="shape" value="ellipse"/>
+    <add as="strokeColor" value="red"/>
+  </add>
+  <add as="CLKOUTV_f" extend="blockWithLabel">
+    <add as="shape" value="hexagon"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+    <add as="strokeColor" value="red"/>
+  </add>
+  <add as="CLKSOMV_f" extend="blockWithLabel">
+    <add as="shape" value="ellipse"/>
+    <add as="displayedLabel" value="+"/>
+    <add as="fontColor" value="red"/>
+    <add as="strokeColor" value="red"/>
+    <add as="fontSize" value="20"/>
+    <add as="spacing" value="5"/>
+    <add as="spacingLeft" value="6"/>
+    <add as="spacingRight" value="6"/>
+  </add>
+  <add as="EVTGEN_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Event at&lt;BR&gt;         time 0"/>
+    <!-- FIXME : Show parameters over block  -->
+  </add>
+  <add as="EVTVARDLY" extend="blockWithLabel">
+    <add as="displayedLabel" value="Event&lt;BR&gt;         delay"/>
+  </add>
+  <add as="M_freq" extend="blockWithLabel">
+    <add as="displayedLabel" value="Multiple&lt;BR&gt;         frequency"/>
+  </add>
+  <add as="ANDBLK" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/ANDBLK.svg"/>
+  </add>
+  <add as="HALT_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="STOP"/>
+  </add>
+  <add as="freq_div" extend="blockWithLabel">
+    <add as="displayedLabel" value="Frequency&lt;BR&gt;         division"/>
+  </add>
+  <add as="ANDLOG_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="LOGICAL&lt;BR&gt;         AND"/>
+  </add>
+  <add as="EVTDLY_c" extend="blockWithLabel">
+    <add as="displayedLabel" value="Delay"/>
+    <!-- FIXME : Show parameters over block  -->
+  </add>
+  <add as="CEVENTSCOPE" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/DSCOPE.svg"/>
+  </add>
+  <!-- SIGNAL ROUTING -->
+  <add as="ISELECT_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="Selector"/>
+  </add>
+  <add as="RELAY_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Relay"/>
+  </add>
+  <add as="WRITEAU_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Write AU to&lt;BR&gt;         /dev/audio"/>
+  </add>
+  <add as="SELECT_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="Selector"/>
+  </add>
+  <add as="SELECT_f" extend="SELECT_m"/>
+  <add as="EXTRACTOR" extend="blockWithLabel">
+    <add as="displayedLabel" value="Extractor"/>
+  </add>
+  <add as="M_SWITCH" extend="blockWithLabel">
+    <add as="displayedLabel" value="Control&lt;BR&gt;         M_Port&lt;BR&gt;         Switch"/>
+  </add>
+  <add as="SWITCH_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="SWITCH&lt;BR&gt;         1"/>
+    <!-- FIXME : Show parameters over block  -->
+  </add>
+  <add as="SWITCH2_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="SWITCH"/>
+  </add>
+  <add as="NRMSOM_f" extend="blockWithLabel">
+    <add as="verticalLabelPosition" value="bottom"/>
+    <add as="verticalAlign" value="top"/>
+    <add as="displayedLabel" value="Bus creator"/>
+  </add>
+  <add as="WRITEC_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Write to&lt;BR&gt;C binary file"/>
+  </add>
+  <add as="GOTO" extend="blockWithLabel">
+    <add as="rounded" value="1"/>
+    <add as="shape" value="rectangle"/>
+  </add>
+  <add as="GotoTagVisibility" extend="blockWithLabel">
+    <add as="displayedLabel" value="&lt;FONT SIZE=&quot;6&quot;&gt;{%s}&lt;/FONT&gt;"/>
+  </add>
+  <add as="FROM" extend="blockWithLabel">
+    <add as="rounded" value="1"/>
+    <add as="shape" value="rectangle"/>
+  </add>
+  <add as="WFILE_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Write to&lt;BR&gt;         output file"/>
+  </add>
+  <add as="MUX" extend="blockWithLabel">
+    <add as="verticalLabelPosition" value="bottom"/>
+    <add as="verticalAlign" value="top"/>
+    <add as="displayedLabel" value="MUX"/>
+  </add>
+  <add as="DEMUX" extend="blockWithLabel">
+    <add as="verticalLabelPosition" value="bottom"/>
+    <add as="verticalAlign" value="top"/>
+    <add as="displayedLabel" value="DEMUX"/>
+  </add>
+  <!-- COMMONLY USED BLOCKS -->
+  <add as="OUT_f" extend="blockWithLabel">
+    <add as="shape" value="hexagon"/>
+    <add as="rounded" value="1"/>
+    <add as="fillColor" value="white"/>
+  </add>
+  <add as="RELATIONALOP" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="displayedLabel" value="Relational&lt;BR&gt;         op : &amp;&lt;"/>
+  </add>
+  <add as="TEXT_f" extend="Label">
+    <!-- <add as="displayedLabel" value="Text"/>  -->
+    <add as="strokeColor" value="none"/>
+    <add as="fillColor" value="none"/>
+  </add>
+  <!-- USER-DEFINED FUNCTIONS -->
+  <add as="PDE" extend="blockWithLabel"/>
+  <add as="fortran_block" extend="blockWithLabel">
+    <add as="displayedLabel" value="Fortran"/>
+  </add>
+  <add as="DEBUG_SCICOS" extend="blockWithLabel">
+    <add as="displayedLabel" value="Debug"/>
+  </add>
+  <add as="EXPRESSION" extend="blockWithLabel">
+    <add as="displayedLabel" value="Mathematical&lt;BR&gt;         expression"/>
+  </add>
+  <add as="scifunc_block_m" extend="blockWithLabel">
+    <add as="displayedLabel" value="Scifunc"/>
+  </add>
+  <add as="scifunc_block" extend="scifunc_block_m"/>
+  <add as="CBLOCK" extend="blockWithLabel">
+    <add as="displayedLabel" value="C block 2"/>
+  </add>
+  <add as="generic_block3" extend="blockWithLabel">
+    <add as="displayedLabel" value="GENERIC"/>
+  </add>
+  <add as="c_block" extend="blockWithLabel">
+    <add as="displayedLabel" value="C block"/>
+  </add>
+  <add as="SUPER_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SUPER.svg"/>
+  </add>
+  <add as="DSUPER" extend="SUPER_f"/>
+  <!-- ELECTRICAL -->
+  <add as="Capacitor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/Capacitor.svg"/>
+  </add>
+  <add as="Ground" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/Ground.svg"/>
+  </add>
+  <add as="VVsourceAC" extend="blockWithLabel">
+    <add as="shape" value="ellipse"/>
+    <add as="perimeter" value="ellipsePerimeter"/>
+    <add as="displayedLabel" value="1 V&lt;br/&gt;~ %s"/>
+  </add>
+  <add as="ConstantVoltage" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/ConstantVoltage.svg"/>
+  </add>
+  <add as="Inductor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/Inductor.svg"/>
+  </add>
+  <add as="PotentialSensor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/PotentialSensor.svg"/>
+  </add>
+  <add as="VariableResistor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/VariableResistor.svg"/>
+  </add>
+  <add as="CurrentSensor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CurrentSensor.svg"/>
+  </add>
+  <add as="Resistor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/Resistor.svg"/>
+  </add>
+  <add as="VoltageSensor" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/VoltageSensor.svg"/>
+  </add>
+  <add as="Diode" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/Diode.svg"/>
+  </add>
+  <add as="VsourceAC" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="shape" value="ellipse"/>
+    <add as="perimeter" value="ellipsePerimeter"/>
+    <add as="textAlign" value="center"/>
+    <add as="displayedLabel" value="%s V&lt;br/&gt;~ %s"/>
+  </add>
+  <add as="NPN" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/NPN.svg"/>
+  </add>
+  <add as="PNP" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/PNP.svg"/>
+  </add>
+  <add as="SineVoltage" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="shape" value="ellipse"/>
+    <add as="perimeter" value="ellipsePerimeter"/>
+    <add as="displayedLabel" value="%s V&lt;br/&gt;~"/>
+  </add>
+  <add as="Switch" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SWITCH.svg"/>
+  </add>
+  <add as="OpAmp" extend="blockWithLabel">
+    <add as="shape" value="triangle"/>
+    <add as="perimeter" value="trianglePerimeter"/>
+    <add as="direction" value="east"/>
+    <add as="displayedLabel" value="&lt;TABLE&gt;           &lt;TR&gt;             &lt;TD&gt;+&lt;/TD&gt;             &lt;TD&gt;&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;&lt;/TD&gt;             &lt;TD&gt;OP&lt;/TD&gt;           &lt;/TR&gt;           &lt;TR&gt;             &lt;TD&gt;-&lt;/TD&gt;             &lt;TD&gt;&lt;/TD&gt;           &lt;/TR&gt;         &lt;/TABLE&gt;"/>
+    <add as="spacing" value="0"/>
+    <add as="spacingRight" value="5"/>
+    <add as="spacingTop" value="7"/>
+    <add as="spacingBottom" value="7"/>
+  </add>
+  <add as="PMOS" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/PMOS.svg"/>
+  </add>
+  <add as="NMOS" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/NMOS.svg"/>
+  </add>
+  <add as="CCS" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CCS.svg"/>
+  </add>
+  <add as="CVS" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CVS.svg"/>
+  </add>
+  <add as="IdealTransformer" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/IdealTransformer.svg"/>
+  </add>
+  <add as="Gyrator" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/Gyrator.svg"/>
+  </add>
+  <!-- THERMO-HYDRAULICS -->
+  <add as="Bache" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/BACHE.svg"/>
+  </add>
+  <add as="VanneReglante" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/VanneReglante.svg"/>
+  </add>
+  <add as="PerteDP" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/PerteDP.svg"/>
+  </add>
+  <add as="PuitsP" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/PuitP.svg"/>
+  </add>
+  <add as="SourceP" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/SourceP.svg"/>
+  </add>
+  <!-- DEMONSTRATION BLOCKS -->
+  <add as="BOUNCE" extend="blockWithLabel">
+    <add as="displayedLabel" value="Bouncing&lt;BR&gt;         balls"/>
+  </add>
+  <add as="BOUNCEXY" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/3DSCOPE.svg"/>
+  </add>
+  <add as="BPLATFORM" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/BPLATFORM.svg"/>
+  </add>
+  <add as="AUTOMAT" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="displayedLabel" value="Automaton&lt;BR&gt;         nM=2, nX=1"/>
+  </add>
+  <!-- GENERATED BLOCKS -->
+  <add as="SPLIT_f" extend="Split"/>
+  <!--
        <add as="SCALAR2VECTOR" extend="Icon">
                <add as="image" value="$SCILAB/modules/xcos/images/blocks/SCALAR2VECTOR.gif" />
        </add>
        -->
-       <add as="SAT_f" extend="SATURATION" />
-       <!-- RAND_f and RAND_m looks exactly the same -->
-       <add as="RAND_f" extend="RAND_m" />
-       <add as="MUX_f" extend="MUX" />
-       <add as="MEMORY_f" extend="blockWithLabel" />
-       <add as="LOGICAL_OP" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="displayedLabel" value="Logical op :&lt;BR&gt;
-                                   AND" />
-       </add>
-       <add as="generic_block" extend="blockWithLabel">
-               <add as="displayedLabel" value="GENERIC" />
-       </add>
-       <add as="GAINBLK" extend="Gain" />
-       <add as="GAIN_f" extend="Gain" />
-       <add as="EVTDLY_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="Delay" />
-       </add>
-       <add as="END_c" extend="blockWithLabel">
-               <add as="displayedLabel" value="END" />
-       </add>
-       <add as="ENDBLK" extend="blockWithLabel">
-               <add as="displayedLabel" value="END" />
-       </add>
-       <add as="EDGETRIGGER" extend="blockWithLabel">
-               <add as="displayedLabel" value="Edge &lt;BR&gt;trigger" />
-       </add>
-       <add as="DOLLAR_m" extend="DOLLAR_f" />
-       <add as="DIFF_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="S" />
-       </add>
-       <add as="DEMUX_f" extend="DEMUX" />
-       <add as="DEADBAND" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/DEADBAND.svg" />
-       </add>
-       <add as="Counter" extend="blockWithLabel">
-               <!-- FIXME : Show parameters over block  -->
-               <add as="displayedLabel" value="Counter&lt;BR&gt;
-                                   0 &amp;#8594; 2" />
-       </add>
-       <add as="CLOCK_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.svg" />
-       </add>
-       <add as="CLKSPLIT_f" extend="Split" />
-       <add as="IMPSPLIT_f" extend="Split" />
-       <add as="CLKSOM_f" extend="CLKSOMV_f" />
-       <add as="CLKOUT_f" extend="Icon">
-               <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLKOUT_f.gif" />
-       </add>
-       <add as="ABSBLK_f" extend="blockWithLabel">
-               <add as="displayedLabel" value="y = |u|" />
-       </add>
+  <add as="SAT_f" extend="SATURATION"/>
+  <!-- RAND_f and RAND_m looks exactly the same -->
+  <add as="RAND_f" extend="RAND_m"/>
+  <add as="MUX_f" extend="MUX"/>
+  <add as="MEMORY_f" extend="blockWithLabel"/>
+  <add as="LOGICAL_OP" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="displayedLabel" value="Logical op :&lt;BR&gt;         AND"/>
+  </add>
+  <add as="generic_block" extend="blockWithLabel">
+    <add as="displayedLabel" value="GENERIC"/>
+  </add>
+  <add as="GAINBLK" extend="Gain"/>
+  <add as="GAIN_f" extend="Gain"/>
+  <add as="EVTDLY_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="Delay"/>
+  </add>
+  <add as="END_c" extend="blockWithLabel">
+    <add as="displayedLabel" value="END"/>
+  </add>
+  <add as="ENDBLK" extend="blockWithLabel">
+    <add as="displayedLabel" value="END"/>
+  </add>
+  <add as="EDGETRIGGER" extend="blockWithLabel">
+    <add as="displayedLabel" value="Edge &lt;BR&gt;trigger"/>
+  </add>
+  <add as="DOLLAR_m" extend="DOLLAR_f"/>
+  <add as="DIFF_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="S"/>
+  </add>
+  <add as="DEMUX_f" extend="DEMUX"/>
+  <add as="DEADBAND" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/DEADBAND.svg"/>
+  </add>
+  <add as="Counter" extend="blockWithLabel">
+    <!-- FIXME : Show parameters over block  -->
+    <add as="displayedLabel" value="Counter&lt;BR&gt;         0 &amp;#8594; 2"/>
+  </add>
+  <add as="CLOCK_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLOCK_c.svg"/>
+  </add>
+  <add as="CLKSPLIT_f" extend="Split"/>
+  <add as="IMPSPLIT_f" extend="Split"/>
+  <add as="CLKSOM_f" extend="CLKSOMV_f"/>
+  <add as="CLKOUT_f" extend="Icon">
+    <add as="image" value="$SCILAB/modules/xcos/images/blocks/CLKOUT_f.gif"/>
+  </add>
+  <add as="ABSBLK_f" extend="blockWithLabel">
+    <add as="displayedLabel" value="y = |u|"/>
+  </add>
 </mxStylesheet>
diff --git a/scilab/modules/xcos/images/blocks/background.svg b/scilab/modules/xcos/images/blocks/background.svg
deleted file mode 100644 (file)
index af3f068..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   inkscape:export-ydpi="90.000000"
-   inkscape:export-xdpi="90.000000"
-   inkscape:export-filename="/Users/izo/Dropbox/scilab/palette/png/ABS_VALUE.png"
-   width="41.061924"
-   height="41.061924"
-   id="svg11300"
-   sodipodi:version="0.32"
-   inkscape:version="0.47 r22583"
-   sodipodi:docname="block_petit.svg"
-   inkscape:output_extension="org.inkscape.output.svg.inkscape"
-   version="1.1">
-  <title
-     id="title3289">base scilan</title>
-  <defs
-     id="defs3">
-    <inkscape:perspective
-       sodipodi:type="inkscape:persp3d"
-       inkscape:vp_x="0 : 24 : 1"
-       inkscape:vp_y="0 : 1000 : 0"
-       inkscape:vp_z="48 : 24 : 1"
-       inkscape:persp3d-origin="24 : 16 : 1"
-       id="perspective33215" />
-    <linearGradient
-       inkscape:collect="always"
-       id="linearGradient5060">
-      <stop
-         style="stop-color:black;stop-opacity:1;"
-         offset="0"
-         id="stop5062" />
-      <stop
-         style="stop-color:black;stop-opacity:0;"
-         offset="1"
-         id="stop5064" />
-    </linearGradient>
-    <linearGradient
-       id="linearGradient5048">
-      <stop
-         style="stop-color:black;stop-opacity:0;"
-         offset="0"
-         id="stop5050" />
-      <stop
-         id="stop5056"
-         offset="0.5"
-         style="stop-color:black;stop-opacity:1;" />
-      <stop
-         style="stop-color:black;stop-opacity:0;"
-         offset="1"
-         id="stop5052" />
-    </linearGradient>
-    <linearGradient
-       id="linearGradient11520">
-      <stop
-         id="stop11522"
-         offset="0.0000000"
-         style="stop-color:#ffffff;stop-opacity:1.0000000;" />
-      <stop
-         id="stop11524"
-         offset="1.0000000"
-         style="stop-color:#dcdcdc;stop-opacity:1.0000000;" />
-    </linearGradient>
-    <linearGradient
-       inkscape:collect="always"
-       xlink:href="#linearGradient5048"
-       id="linearGradient9582"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)"
-       x1="302.85715"
-       y1="366.64789"
-       x2="302.85715"
-       y2="609.50507" />
-    <radialGradient
-       inkscape:collect="always"
-       xlink:href="#linearGradient5060"
-       id="radialGradient9584"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)"
-       cx="605.71429"
-       cy="486.64789"
-       fx="605.71429"
-       fy="486.64789"
-       r="117.14286" />
-    <radialGradient
-       inkscape:collect="always"
-       xlink:href="#linearGradient5060"
-       id="radialGradient9586"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)"
-       cx="605.71429"
-       cy="486.64789"
-       fx="605.71429"
-       fy="486.64789"
-       r="117.14286" />
-    <radialGradient
-       inkscape:collect="always"
-       xlink:href="#linearGradient11520"
-       id="radialGradient9588"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="matrix(1.995058,0,0,1.995058,-24.32488,-35.70087)"
-       cx="24.44569"
-       cy="35.87817"
-       fx="24.44569"
-       fy="35.87817"
-       r="20.530962" />
-    <radialGradient
-       inkscape:collect="always"
-       xlink:href="#linearGradient11520"
-       id="radialGradient28495"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="matrix(2.928002,0,0,2.928002,-98.473068,-58.790214)"
-       cx="24.44569"
-       cy="35.87817"
-       fx="24.44569"
-       fy="35.87817"
-       r="20.530962" />
-  </defs>
-  <sodipodi:namedview
-     stroke="#ef2929"
-     fill="#eeeeec"
-     id="base"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="0.25490196"
-     inkscape:pageopacity="0.0"
-     inkscape:pageshadow="2"
-     inkscape:zoom="8.4680138"
-     inkscape:cx="-44.625512"
-     inkscape:cy="22.624008"
-     inkscape:current-layer="g28489"
-     showgrid="false"
-     inkscape:grid-bbox="true"
-     inkscape:document-units="px"
-     inkscape:showpageshadow="false"
-     inkscape:window-width="1600"
-     inkscape:window-height="1177"
-     inkscape:window-x="0"
-     inkscape:window-y="0"
-     inkscape:window-maximized="1" />
-  <metadata
-     id="metadata4">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:creator>
-          <cc:Agent>
-            <dc:title>Mathieu Drouet / Take a sip</dc:title>
-          </cc:Agent>
-        </dc:creator>
-        <dc:source>http://www.takeasip.net/</dc:source>
-        <cc:license
-           rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
-        <dc:title>base scilan</dc:title>
-      </cc:Work>
-      <cc:License
-         rdf:about="http://creativecommons.org/licenses/publicdomain/">
-        <cc:permits
-           rdf:resource="http://creativecommons.org/ns#Reproduction" />
-        <cc:permits
-           rdf:resource="http://creativecommons.org/ns#Distribution" />
-        <cc:permits
-           rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
-      </cc:License>
-    </rdf:RDF>
-  </metadata>
-  <g
-     id="layer1"
-     inkscape:label="Layer 1"
-     inkscape:groupmode="layer"
-     transform="translate(2.0774059e-7,-6.938077)">
-    <g
-       inkscape:label="Layer 1"
-       id="layer1-0"
-       transform="matrix(0,0.68137179,-0.68137179,0,39.302853,7.826163)">
-      <g
-         id="g9544"
-         transform="translate(-2.0023665,2.2530854)">
-        <g
-           id="g9570"
-           transform="translate(0.34662852,-1.7289484)">
-          <g
-             id="g28489"
-             transform="translate(2.3098495,0.12996954)">
-            <rect
-               transform="matrix(0,-1,1,0,0,0)"
-               style="color:#000000;fill:url(#radialGradient28495);fill-opacity:1;fill-rule:evenodd;stroke:#2e3436;stroke-width:1.46762753;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
-               id="rect11518"
-               width="58.795982"
-               height="58.795982"
-               x="-56.294029"
-               y="-1.2236773"
-               rx="20%" />
-            <rect
-               transform="matrix(0,-1,1,0,0,0)"
-               rx="20%"
-               y="0.51202965"
-               x="-54.558323"
-               height="55.324547"
-               width="55.324547"
-               id="rect11528"
-               style="color:#000000;fill:none;stroke:#ffffff;stroke-width:1.46762717;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
-          </g>
-        </g>
-      </g>
-    </g>
-  </g>
-</svg>
diff --git a/scilab/modules/xcos/images/blocks/empty.svg b/scilab/modules/xcos/images/blocks/empty.svg
deleted file mode 100644 (file)
index 15aea91..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg"/>
index e2d074f..8abce8f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ABS_VALUE.png and b/scilab/modules/xcos/images/palettes/ABS_VALUE.png differ
index 1f2369c..ea770a5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/AFFICH_m.png and b/scilab/modules/xcos/images/palettes/AFFICH_m.png differ
index 64b33f4..e75f90b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ANDBLK.png and b/scilab/modules/xcos/images/palettes/ANDBLK.png differ
index bbf0152..f1f9479 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ANDLOG_f.png and b/scilab/modules/xcos/images/palettes/ANDLOG_f.png differ
index c1f82dc..27eada3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/AUTOMAT.png and b/scilab/modules/xcos/images/palettes/AUTOMAT.png differ
index 0a8431c..0a7f20a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BACKLASH.png and b/scilab/modules/xcos/images/palettes/BACKLASH.png differ
index d737d01..0c2fbd2 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BIGSOM_f.png and b/scilab/modules/xcos/images/palettes/BIGSOM_f.png differ
index 264e891..8e2c19b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BITCLEAR.png and b/scilab/modules/xcos/images/palettes/BITCLEAR.png differ
index 3db433f..28365aa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BITSET.png and b/scilab/modules/xcos/images/palettes/BITSET.png differ
index 6341cc4..9fbe17d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BOUNCE.png and b/scilab/modules/xcos/images/palettes/BOUNCE.png differ
index d6074b9..acb0f57 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BOUNCEXY.png and b/scilab/modules/xcos/images/palettes/BOUNCEXY.png differ
index 682996a..0c03f86 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/BPLATFORM.png and b/scilab/modules/xcos/images/palettes/BPLATFORM.png differ
index 4d9d94d..008a9b8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Bache.png and b/scilab/modules/xcos/images/palettes/Bache.png differ
index d6074b9..acb0f57 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CANIMXY.png and b/scilab/modules/xcos/images/palettes/CANIMXY.png differ
index 19ff733..89e6790 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CANIMXY3D.png and b/scilab/modules/xcos/images/palettes/CANIMXY3D.png differ
index 8f9dc82..fd1c184 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CBLOCK.png and b/scilab/modules/xcos/images/palettes/CBLOCK.png differ
index 4968d35..f543932 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CCS.png and b/scilab/modules/xcos/images/palettes/CCS.png differ
index 5f01d74..d098851 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CEVENTSCOPE.png and b/scilab/modules/xcos/images/palettes/CEVENTSCOPE.png differ
index 1eabcd5..02c3a10 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CFSCOPE.png and b/scilab/modules/xcos/images/palettes/CFSCOPE.png differ
index 794d0a9..321377c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLINDUMMY_f.png and b/scilab/modules/xcos/images/palettes/CLINDUMMY_f.png differ
index beb1ff8..e6f3d84 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKFROM.png and b/scilab/modules/xcos/images/palettes/CLKFROM.png differ
index 8e41f92..e39d5de 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKGOTO.png and b/scilab/modules/xcos/images/palettes/CLKGOTO.png differ
index cbb8610..4a44393 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKGotoTagVisibility.png and b/scilab/modules/xcos/images/palettes/CLKGotoTagVisibility.png differ
index 558e351..5dc5fe0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKINV_f.png and b/scilab/modules/xcos/images/palettes/CLKINV_f.png differ
index 47ddc33..7fc59dd 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKOUTV_f.png and b/scilab/modules/xcos/images/palettes/CLKOUTV_f.png differ
index 4127910..e472d77 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLKSOMV_f.png and b/scilab/modules/xcos/images/palettes/CLKSOMV_f.png differ
index 2b68ff4..61fba16 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLOCK_c.png and b/scilab/modules/xcos/images/palettes/CLOCK_c.png differ
index 316d53a..4ba24cf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLR.png and b/scilab/modules/xcos/images/palettes/CLR.png differ
index 8a065cc..076b01d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CLSS.png and b/scilab/modules/xcos/images/palettes/CLSS.png differ
index 867f958..449c16b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CMAT3D.png and b/scilab/modules/xcos/images/palettes/CMAT3D.png differ
index ed68ab9..87d31ee 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CMATVIEW.png and b/scilab/modules/xcos/images/palettes/CMATVIEW.png differ
index 235edb4..5e587dc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CMSCOPE.png and b/scilab/modules/xcos/images/palettes/CMSCOPE.png differ
index 2add21f..7735388 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CONSTRAINT_f.png and b/scilab/modules/xcos/images/palettes/CONSTRAINT_f.png differ
index d69d32d..05772bf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CONST_m.png and b/scilab/modules/xcos/images/palettes/CONST_m.png differ
index ae3bb4d..f47b03d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CONVERT.png and b/scilab/modules/xcos/images/palettes/CONVERT.png differ
index b2ab1e3..910143c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/COSBLK_f.png and b/scilab/modules/xcos/images/palettes/COSBLK_f.png differ
index 49cd1ed..f869259 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CSCOPE.png and b/scilab/modules/xcos/images/palettes/CSCOPE.png differ
index 86179b1..d48dddc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CSCOPXY.png and b/scilab/modules/xcos/images/palettes/CSCOPXY.png differ
index 6deca0d..0831f6c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CSCOPXY3D.png and b/scilab/modules/xcos/images/palettes/CSCOPXY3D.png differ
index c4319e6..1471b91 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CUMSUM.png and b/scilab/modules/xcos/images/palettes/CUMSUM.png differ
index f6ae53e..b5d6e51 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CURV_f.png and b/scilab/modules/xcos/images/palettes/CURV_f.png differ
index bd94f93..ec85f7d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CVS.png and b/scilab/modules/xcos/images/palettes/CVS.png differ
index da2d94c..7479f38 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Capacitor.png and b/scilab/modules/xcos/images/palettes/Capacitor.png differ
index 6206cbc..63b0b6e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ConstantVoltage.png and b/scilab/modules/xcos/images/palettes/ConstantVoltage.png differ
index 731748d..b41103b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Counter.png and b/scilab/modules/xcos/images/palettes/Counter.png differ
index 18c9f4e..35b9e3d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/CurrentSensor.png and b/scilab/modules/xcos/images/palettes/CurrentSensor.png differ
index d3d954d..69debff 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png and b/scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png differ
index f016ebf..ce9a256 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DELAYV_f.png and b/scilab/modules/xcos/images/palettes/DELAYV_f.png differ
index 70165f8..cecdf02 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DELAY_f.png and b/scilab/modules/xcos/images/palettes/DELAY_f.png differ
index f8e41f3..efa433d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DEMUX.png and b/scilab/modules/xcos/images/palettes/DEMUX.png differ
index 6c65e74..c76e52f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DERIV.png and b/scilab/modules/xcos/images/palettes/DERIV.png differ
index 3b8429b..dcd53be 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DFLIPFLOP.png and b/scilab/modules/xcos/images/palettes/DFLIPFLOP.png differ
index be7b1ea..2ca257f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DIFF_f.png and b/scilab/modules/xcos/images/palettes/DIFF_f.png differ
index 0705ba1..c0d171e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLATCH.png and b/scilab/modules/xcos/images/palettes/DLATCH.png differ
index 07cd173..f9be468 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLR.png and b/scilab/modules/xcos/images/palettes/DLR.png differ
index f3fe8fb..212640d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLRADAPT_f.png and b/scilab/modules/xcos/images/palettes/DLRADAPT_f.png differ
index 2e87324..ff72adf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DLSS.png and b/scilab/modules/xcos/images/palettes/DLSS.png differ
index 006e85c..7093218 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/DOLLAR_f.png and b/scilab/modules/xcos/images/palettes/DOLLAR_f.png differ
index f4deefa..35db16f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Diode.png and b/scilab/modules/xcos/images/palettes/Diode.png differ
index 12bba22..9a2bea7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png and b/scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png differ
index 409d8a1..726e30e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ENDBLK.png and b/scilab/modules/xcos/images/palettes/ENDBLK.png differ
index 594c789..c552843 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/END_c.png and b/scilab/modules/xcos/images/palettes/END_c.png differ
index d57366a..62da05b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ESELECT_f.png and b/scilab/modules/xcos/images/palettes/ESELECT_f.png differ
index cd8bc87..db06345 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EVTDLY_c.png and b/scilab/modules/xcos/images/palettes/EVTDLY_c.png differ
index 507cd73..6d20d64 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EVTGEN_f.png and b/scilab/modules/xcos/images/palettes/EVTGEN_f.png differ
index 1bdb7b4..e70a7f7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EVTVARDLY.png and b/scilab/modules/xcos/images/palettes/EVTVARDLY.png differ
index c7c7f5f..4e273f8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXPBLK_m.png and b/scilab/modules/xcos/images/palettes/EXPBLK_m.png differ
index 6c24eea..d0a20ef 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXPRESSION.png and b/scilab/modules/xcos/images/palettes/EXPRESSION.png differ
index bf1ef8f..0f364ac 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTRACT.png and b/scilab/modules/xcos/images/palettes/EXTRACT.png differ
index eb1d620..6be01a7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTRACTBITS.png and b/scilab/modules/xcos/images/palettes/EXTRACTBITS.png differ
index 3ac3ec6..e72093f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTRACTOR.png and b/scilab/modules/xcos/images/palettes/EXTRACTOR.png differ
index 7ef2715..4ac9ec8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/EXTTRI.png and b/scilab/modules/xcos/images/palettes/EXTTRI.png differ
index 88ff335..dc37f3c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Extract_Activation.png and b/scilab/modules/xcos/images/palettes/Extract_Activation.png differ
index 55dc415..ffb8587 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/FROM.png and b/scilab/modules/xcos/images/palettes/FROM.png differ
index 9dbeb1b..594e08e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/FROMMO.png and b/scilab/modules/xcos/images/palettes/FROMMO.png differ
index 0366132..9dd7347 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/FROMWSB.png and b/scilab/modules/xcos/images/palettes/FROMWSB.png differ
index 0384d4a..be841d5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GAINBLK_f.png and b/scilab/modules/xcos/images/palettes/GAINBLK_f.png differ
index 1ac0150..c0d1601 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GENERAL_f.png and b/scilab/modules/xcos/images/palettes/GENERAL_f.png differ
index d6d9e6d..f2ae873 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GENSIN_f.png and b/scilab/modules/xcos/images/palettes/GENSIN_f.png differ
index dd69db7..bc08ee9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GENSQR_f.png and b/scilab/modules/xcos/images/palettes/GENSQR_f.png differ
index df239b0..cc31237 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GOTO.png and b/scilab/modules/xcos/images/palettes/GOTO.png differ
index 9a2f2d2..5a9b92c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GOTOMO.png and b/scilab/modules/xcos/images/palettes/GOTOMO.png differ
index 763fcb8..9fed432 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GotoTagVisibility.png and b/scilab/modules/xcos/images/palettes/GotoTagVisibility.png differ
index b9584dd..9624d24 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/GotoTagVisibilityMO.png and b/scilab/modules/xcos/images/palettes/GotoTagVisibilityMO.png differ
index 565d7b2..415eb5f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Ground.png and b/scilab/modules/xcos/images/palettes/Ground.png differ
index 7e0be12..70196c7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Gyrator.png and b/scilab/modules/xcos/images/palettes/Gyrator.png differ
index 884c8d9..455dd38 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/HALT_f.png and b/scilab/modules/xcos/images/palettes/HALT_f.png differ
index 4a2aa11..95eebaa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/HYSTHERESIS.png and b/scilab/modules/xcos/images/palettes/HYSTHERESIS.png differ
index 0c4a380..e5cd4da 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/IFTHEL_f.png and b/scilab/modules/xcos/images/palettes/IFTHEL_f.png differ
index b5cf33c..bb067ca 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INIMPL_f.png and b/scilab/modules/xcos/images/palettes/INIMPL_f.png differ
index e9cac3e..2598714 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTEGRAL_f.png and b/scilab/modules/xcos/images/palettes/INTEGRAL_f.png differ
index 18ed3a4..7d5ba8a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTEGRAL_m.png and b/scilab/modules/xcos/images/palettes/INTEGRAL_m.png differ
index ca90277..4fb346e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTMUL.png and b/scilab/modules/xcos/images/palettes/INTMUL.png differ
index f3c8035..a54a059 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTRP2BLK_f.png and b/scilab/modules/xcos/images/palettes/INTRP2BLK_f.png differ
index fc046a5..a12a8d8 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INTRPLBLK_f.png and b/scilab/modules/xcos/images/palettes/INTRPLBLK_f.png differ
index a602e44..9fcd0a0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/INVBLK.png and b/scilab/modules/xcos/images/palettes/INVBLK.png differ
index 67f3131..d7f1f62 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/IN_f.png and b/scilab/modules/xcos/images/palettes/IN_f.png differ
index 35553a1..e4763a6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ISELECT_m.png and b/scilab/modules/xcos/images/palettes/ISELECT_m.png differ
index 1a0d64d..38eba4b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/IdealTransformer.png and b/scilab/modules/xcos/images/palettes/IdealTransformer.png differ
index 671c64d..e57d899 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Inductor.png and b/scilab/modules/xcos/images/palettes/Inductor.png differ
index 9c885bb..56b707d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/JKFLIPFLOP.png and b/scilab/modules/xcos/images/palettes/JKFLIPFLOP.png differ
index 5418478..1a84cf3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOGBLK_f.png and b/scilab/modules/xcos/images/palettes/LOGBLK_f.png differ
index fef8fe8..173b5b6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOGIC.png and b/scilab/modules/xcos/images/palettes/LOGIC.png differ
index 3c568f4..8ce441a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOGICAL_OP.png and b/scilab/modules/xcos/images/palettes/LOGICAL_OP.png differ
index 92cfb50..5da7c5b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/LOOKUP_f.png and b/scilab/modules/xcos/images/palettes/LOOKUP_f.png differ
index d7b775a..1c1f656 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATBKSL.png and b/scilab/modules/xcos/images/palettes/MATBKSL.png differ
index 483c584..4e5ca98 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATCATH.png and b/scilab/modules/xcos/images/palettes/MATCATH.png differ
index 88aa302..6234467 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATCATV.png and b/scilab/modules/xcos/images/palettes/MATCATV.png differ
index 0d03a79..ba31d5d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATDET.png and b/scilab/modules/xcos/images/palettes/MATDET.png differ
index d382ee4..3d7e0ba 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATDIAG.png and b/scilab/modules/xcos/images/palettes/MATDIAG.png differ
index a93eafa..1c184c0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATDIV.png and b/scilab/modules/xcos/images/palettes/MATDIV.png differ
index 84be08a..33e65dc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATEIG.png and b/scilab/modules/xcos/images/palettes/MATEIG.png differ
index 4a46f76..1bbab89 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATEXPM.png and b/scilab/modules/xcos/images/palettes/MATEXPM.png differ
index 39e0d01..ad4c9d7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATINV.png and b/scilab/modules/xcos/images/palettes/MATINV.png differ
index a59cb85..eb605ce 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATLU.png and b/scilab/modules/xcos/images/palettes/MATLU.png differ
index 5248f2f..01ebe6e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATMAGPHI.png and b/scilab/modules/xcos/images/palettes/MATMAGPHI.png differ
index 678e864..a229184 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATMUL.png and b/scilab/modules/xcos/images/palettes/MATMUL.png differ
index 08b28c4..96cea34 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATPINV.png and b/scilab/modules/xcos/images/palettes/MATPINV.png differ
index 6805f6c..f8c1575 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATRESH.png and b/scilab/modules/xcos/images/palettes/MATRESH.png differ
index 3a4ca22..b1e4549 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATSING.png and b/scilab/modules/xcos/images/palettes/MATSING.png differ
index 212962e..533bee0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATSUM.png and b/scilab/modules/xcos/images/palettes/MATSUM.png differ
index d6c8874..68a57b9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATTRAN.png and b/scilab/modules/xcos/images/palettes/MATTRAN.png differ
index dd9f844..9ff8750 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATZCONJ.png and b/scilab/modules/xcos/images/palettes/MATZCONJ.png differ
index 22d006d..fe657aa 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MATZREIM.png and b/scilab/modules/xcos/images/palettes/MATZREIM.png differ
index 42cfb36..2ca7f76 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MAXMIN.png and b/scilab/modules/xcos/images/palettes/MAXMIN.png differ
index 95c6424..90bafa2 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MAX_f.png and b/scilab/modules/xcos/images/palettes/MAX_f.png differ
index f7545c6..6081e4a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MBLOCK.png and b/scilab/modules/xcos/images/palettes/MBLOCK.png differ
index 62dcb89..49cb771 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MCLOCK_f.png and b/scilab/modules/xcos/images/palettes/MCLOCK_f.png differ
index 33d2521..5c73341 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MFCLCK_f.png and b/scilab/modules/xcos/images/palettes/MFCLCK_f.png differ
index d9bf0a0..54e8b4e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MIN_f.png and b/scilab/modules/xcos/images/palettes/MIN_f.png differ
index 01b8da8..102cd81 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/MUX.png and b/scilab/modules/xcos/images/palettes/MUX.png differ
index 0aaf738..e5b9e6e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/M_SWITCH.png and b/scilab/modules/xcos/images/palettes/M_SWITCH.png differ
index 78b2ac8..a82237f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/M_freq.png and b/scilab/modules/xcos/images/palettes/M_freq.png differ
index 2a958aa..1b4b84f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Modulo_Count.png and b/scilab/modules/xcos/images/palettes/Modulo_Count.png differ
index a2791e2..09e2c91 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NEGTOPOS_f.png and b/scilab/modules/xcos/images/palettes/NEGTOPOS_f.png differ
index 8bc0fa5..9183272 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NMOS.png and b/scilab/modules/xcos/images/palettes/NMOS.png differ
index c7a738e..0761f09 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NPN.png and b/scilab/modules/xcos/images/palettes/NPN.png differ
index d462434..456f573 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/NRMSOM_f.png and b/scilab/modules/xcos/images/palettes/NRMSOM_f.png differ
index fb1b1a1..f6c8505 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/OUTIMPL_f.png and b/scilab/modules/xcos/images/palettes/OUTIMPL_f.png differ
index 738e915..575a137 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/OUT_f.png and b/scilab/modules/xcos/images/palettes/OUT_f.png differ
index c79a18e..3f6b579 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/OpAmp.png and b/scilab/modules/xcos/images/palettes/OpAmp.png differ
index 566fd1a..f5a3f13 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PDE.png and b/scilab/modules/xcos/images/palettes/PDE.png differ
index 9f94a5e..d7c8ab5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PID.png and b/scilab/modules/xcos/images/palettes/PID.png differ
index 5a4885a..80edeeb 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PMOS.png and b/scilab/modules/xcos/images/palettes/PMOS.png differ
index 6f6d3cb..f252fd1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PNP.png and b/scilab/modules/xcos/images/palettes/PNP.png differ
index 87bab19..920a6ae 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/POSTONEG_f.png and b/scilab/modules/xcos/images/palettes/POSTONEG_f.png differ
index ce39bdc..1fa99f1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/POWBLK_f.png and b/scilab/modules/xcos/images/palettes/POWBLK_f.png differ
index 68cf54b..57184e1 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PRODUCT.png and b/scilab/modules/xcos/images/palettes/PRODUCT.png differ
index b404814..332f43e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PROD_f.png and b/scilab/modules/xcos/images/palettes/PROD_f.png differ
index d718fd3..56f1468 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PerteDP.png and b/scilab/modules/xcos/images/palettes/PerteDP.png differ
index bd5f1ca..cff9043 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PotentialSensor.png and b/scilab/modules/xcos/images/palettes/PotentialSensor.png differ
index 637bcca..153bccd 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/PuitsP.png and b/scilab/modules/xcos/images/palettes/PuitsP.png differ
index 6778ba9..e5300f3 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/QUANT_f.png and b/scilab/modules/xcos/images/palettes/QUANT_f.png differ
index ef910e2..a2c4529 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RAMP.png and b/scilab/modules/xcos/images/palettes/RAMP.png differ
index 221bd3c..d040ae0 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RAND_m.png and b/scilab/modules/xcos/images/palettes/RAND_m.png differ
index 30ac0df..b53ae01 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RATELIMITER.png and b/scilab/modules/xcos/images/palettes/RATELIMITER.png differ
index 395304b..2b34eed 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/READAU_f.png and b/scilab/modules/xcos/images/palettes/READAU_f.png differ
index cb31a5d..95cf346 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/READC_f.png and b/scilab/modules/xcos/images/palettes/READC_f.png differ
index 14db025..dc76d5c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/REGISTER.png and b/scilab/modules/xcos/images/palettes/REGISTER.png differ
index d057009..6ad38f5 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RELATIONALOP.png and b/scilab/modules/xcos/images/palettes/RELATIONALOP.png differ
index 65291e0..72ec0e2 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RELAY_f.png and b/scilab/modules/xcos/images/palettes/RELAY_f.png differ
index e9c7ceb..6bb1f84 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RFILE_f.png and b/scilab/modules/xcos/images/palettes/RFILE_f.png differ
index e3c0c56..b68eada 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/RICC.png and b/scilab/modules/xcos/images/palettes/RICC.png differ
index f57ec73..d4d15af 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ROOTCOEF.png and b/scilab/modules/xcos/images/palettes/ROOTCOEF.png differ
index 90d160d..65a7f66 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Resistor.png and b/scilab/modules/xcos/images/palettes/Resistor.png differ
index d308abe..03d34a6 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SAMPHOLD_m.png and b/scilab/modules/xcos/images/palettes/SAMPHOLD_m.png differ
index 80913ca..c747551 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SATURATION.png and b/scilab/modules/xcos/images/palettes/SATURATION.png differ
index cf65a83..5150dbf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SAWTOOTH_f.png and b/scilab/modules/xcos/images/palettes/SAWTOOTH_f.png differ
index 02ea836..15b28a2 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SELECT_m.png and b/scilab/modules/xcos/images/palettes/SELECT_m.png differ
index 78abfb4..48806ca 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SHIFT.png and b/scilab/modules/xcos/images/palettes/SHIFT.png differ
index 715fa24..2a2a832 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SIGNUM.png and b/scilab/modules/xcos/images/palettes/SIGNUM.png differ
index 6ce4b66..89df2ed 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SINBLK_f.png and b/scilab/modules/xcos/images/palettes/SINBLK_f.png differ
index bd23078..3b18b21 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SQRT.png and b/scilab/modules/xcos/images/palettes/SQRT.png differ
index e258569..9057341 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SRFLIPFLOP.png and b/scilab/modules/xcos/images/palettes/SRFLIPFLOP.png differ
index c4ae5a2..700f17f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/STEP_FUNCTION.png and b/scilab/modules/xcos/images/palettes/STEP_FUNCTION.png differ
index ccaf2e8..5be70d7 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUBMAT.png and b/scilab/modules/xcos/images/palettes/SUBMAT.png differ
index fe3d1a6..40f532b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUMMATION.png and b/scilab/modules/xcos/images/palettes/SUMMATION.png differ
index cf9c5ba..5020f02 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUM_f.png and b/scilab/modules/xcos/images/palettes/SUM_f.png differ
index 046071b..69b9ba4 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SUPER_f.png and b/scilab/modules/xcos/images/palettes/SUPER_f.png differ
index d83a32b..0a91703 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SWITCH2_m.png and b/scilab/modules/xcos/images/palettes/SWITCH2_m.png differ
index d6d54e3..9d3fb11 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SWITCH_f.png and b/scilab/modules/xcos/images/palettes/SWITCH_f.png differ
index ff7f686..02a0162 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SampleCLK.png and b/scilab/modules/xcos/images/palettes/SampleCLK.png differ
index 7a1127c..6af0e7e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Sigbuilder.png and b/scilab/modules/xcos/images/palettes/Sigbuilder.png differ
index 9fb86c6..eef1131 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SineVoltage.png and b/scilab/modules/xcos/images/palettes/SineVoltage.png differ
index 2cfc99c..f9dc682 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/SourceP.png and b/scilab/modules/xcos/images/palettes/SourceP.png differ
index 8b2486b..4460816 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/Switch.png and b/scilab/modules/xcos/images/palettes/Switch.png differ
index 99b71cf..d8c6d07 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TANBLK_f.png and b/scilab/modules/xcos/images/palettes/TANBLK_f.png differ
index bf195d4..6ec6c9b 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TCLSS.png and b/scilab/modules/xcos/images/palettes/TCLSS.png differ
index 80efac7..94cf20a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TIME_DELAY.png and b/scilab/modules/xcos/images/palettes/TIME_DELAY.png differ
index 7cf9741..d186813 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TIME_f.png and b/scilab/modules/xcos/images/palettes/TIME_f.png differ
index 9217fd9..dc7b48e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TKSCALE.png and b/scilab/modules/xcos/images/palettes/TKSCALE.png differ
index 00248fd..2ec7cdb 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TOWS_c.png and b/scilab/modules/xcos/images/palettes/TOWS_c.png differ
index 04edb86..611f68e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TRASH_f.png and b/scilab/modules/xcos/images/palettes/TRASH_f.png differ
index b8c7f26..4027252 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/TrigFun.png and b/scilab/modules/xcos/images/palettes/TrigFun.png differ
index 208c090..ab3fab9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png and b/scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png differ
index 0b3e6f1..fba4d2d 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VVsourceAC.png and b/scilab/modules/xcos/images/palettes/VVsourceAC.png differ
index 606ba48..6cea8fc 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VanneReglante.png and b/scilab/modules/xcos/images/palettes/VanneReglante.png differ
index c2171b5..1f910ad 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VariableResistor.png and b/scilab/modules/xcos/images/palettes/VariableResistor.png differ
index 65fb55a..f3c5d33 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VoltageSensor.png and b/scilab/modules/xcos/images/palettes/VoltageSensor.png differ
index 149b7c0..fa1a71a 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/VsourceAC.png and b/scilab/modules/xcos/images/palettes/VsourceAC.png differ
index 0d20906..e3464cf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/WFILE_f.png and b/scilab/modules/xcos/images/palettes/WFILE_f.png differ
index eaf7a4b..1348a2c 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/WRITEAU_f.png and b/scilab/modules/xcos/images/palettes/WRITEAU_f.png differ
index fd40326..6c5d8b9 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/WRITEC_f.png and b/scilab/modules/xcos/images/palettes/WRITEC_f.png differ
index 05e3d5c..bd40d06 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/ZCROSS_f.png and b/scilab/modules/xcos/images/palettes/ZCROSS_f.png differ
index 3be6592..b21898f 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/c_block.png and b/scilab/modules/xcos/images/palettes/c_block.png differ
index 4874f63..829dbaf 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/fortran_block.png and b/scilab/modules/xcos/images/palettes/fortran_block.png differ
index d9aae52..453be6e 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/freq_div.png and b/scilab/modules/xcos/images/palettes/freq_div.png differ
index 0e6a98c..57b0531 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/generic_block3.png and b/scilab/modules/xcos/images/palettes/generic_block3.png differ
index 3b75df2..a177a29 100644 (file)
Binary files a/scilab/modules/xcos/images/palettes/scifunc_block_m.png and b/scilab/modules/xcos/images/palettes/scifunc_block_m.png differ
index f72779c..a832e00 100644 (file)
@@ -20,8 +20,6 @@ import java.beans.PropertyVetoException;
 import java.io.File;
 import java.io.FileWriter;
 import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
 import java.rmi.server.UID;
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -45,7 +43,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement;
 import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement.InterpreterException;
-import org.scilab.modules.graph.ScilabCanvas;
 import org.scilab.modules.graph.ScilabGraph;
 import org.scilab.modules.graph.utils.ScilabGraphConstants;
 import org.scilab.modules.gui.bridge.filechooser.SwingScilabFileChooser;
@@ -101,7 +98,6 @@ import com.mxgraph.model.mxGraphModel.mxChildChange;
 import com.mxgraph.model.mxGraphModel.mxStyleChange;
 import com.mxgraph.model.mxICell;
 import com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange;
-import com.mxgraph.util.mxConstants;
 import com.mxgraph.util.mxEvent;
 import com.mxgraph.util.mxEventObject;
 import com.mxgraph.util.mxPoint;
@@ -526,19 +522,6 @@ public class XcosDiagram extends ScilabGraph {
        public void installStylesheet() {
                final mxStylesheet styleSheet = Xcos.getInstance().getStyleSheet();
                setStylesheet(styleSheet);
-               
-               // Set Canvas background
-               URL background = null;
-               try {
-                       final Map<String, Object> style = styleSheet.getCellStyle("Icon", null);
-                       if (style != null) {
-                               background = new URL((String) style.get(mxConstants.STYLE_IMAGE));
-                       }
-               } catch (final MalformedURLException e) {
-                       LOG.warn(e);
-               }
-               ((ScilabCanvas) getAsComponent().getCanvas())
-                               .setSvgBackgroundImage(background);
        }
     
     /**