Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/15/10 15:39:26 (15 years ago)
Author:
mkommend
Message:

added first version of OperatorGraphVisualization (ticket #867)

Location:
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Ants.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Controller.cs

    r2782 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/Ghosts.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446.csproj

    r2782 r2801  
    3333    <WarningLevel>4</WarningLevel>
    3434  </PropertyGroup>
     35  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     36    <DebugSymbols>true</DebugSymbols>
     37    <OutputPath>bin\x86\Debug\</OutputPath>
     38    <DefineConstants>DEBUG;TRACE</DefineConstants>
     39    <DebugType>full</DebugType>
     40    <PlatformTarget>x86</PlatformTarget>
     41    <ErrorReport>prompt</ErrorReport>
     42  </PropertyGroup>
     43  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     44    <OutputPath>bin\x86\Release\</OutputPath>
     45    <DefineConstants>TRACE</DefineConstants>
     46    <Optimize>true</Optimize>
     47    <DebugType>pdbonly</DebugType>
     48    <PlatformTarget>x86</PlatformTarget>
     49    <ErrorReport>prompt</ErrorReport>
     50  </PropertyGroup>
    3551  <ItemGroup>
    3652    <Reference Include="System" />
     
    5066  </ItemGroup>
    5167  <ItemGroup>
    52     <Compile Include="NetronForm.cs">
    53       <SubType>Form</SubType>
    54     </Compile>
    55     <Compile Include="NetronForm.Designer.cs">
    56       <DependentUpon>NetronForm.cs</DependentUpon>
    57     </Compile>
    58     <Compile Include="NetronTestApplication.cs" />
    5968    <Compile Include="NetronVisualization.cs">
    6069      <SubType>Component</SubType>
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/HeuristicLabNetronPlugin.cs

    r2790 r2801  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.Designer.cs

    r2781 r2801  
    1 namespace HeuristicLab.Netron {
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22namespace HeuristicLab.Netron {
    223  partial class NetronVisualization {
    324    /// <summary>
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.cs

    r2782 r2801  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.ComponentModel;
     
    1334  [ToolboxItem(true)]
    1435  public partial class NetronVisualization : DiagramControlBase {
    15     private static Size INVALID_SIZE = new Size(-1,-1);
     36    private static Size INVALID_SIZE = new Size(-1, -1);
    1637    private Size oldSize;
    1738    public NetronVisualization()
     
    4364
    4465    private void NetronVisualization_SizeChanged(object sender, EventArgs e) {
    45       if (this.oldSize == INVALID_SIZE) {
     66      //if (this.oldSize == INVALID_SIZE) {
    4667        this.View.PageSize = new Size((int)(this.Size.Width * this.Magnification.Width), (int)(this.Size.Height * this.Magnification.Height));
    47         oldSize = this.Size;
    48         return;
    49       }
     68      //  if (!this.DesignMode)
     69      //    oldSize = this.Size;
     70      //  return;
     71      //}
    5072
    51       SizeF magnificationChanges = new SizeF();
    52       magnificationChanges.Width = ((float)this.Size.Width) / oldSize.Width;
    53       magnificationChanges.Height = ((float)this.Size.Height) / oldSize.Height;
     73      //SizeF magnificationChanges = new SizeF();
     74      //magnificationChanges.Width = ((float)this.Size.Width) / oldSize.Width;
     75      //magnificationChanges.Height = ((float)this.Size.Height) / oldSize.Height;
    5476
    55       SizeF newMagnification = new SizeF();
    56       newMagnification.Width = this.View.Magnification.Width * magnificationChanges.Width;
    57       newMagnification.Height = this.View.Magnification.Height * magnificationChanges.Height;
     77      //SizeF newMagnification = new SizeF();
     78      //newMagnification.Width = this.View.Magnification.Width * magnificationChanges.Width;
     79      //newMagnification.Height = this.View.Magnification.Height * magnificationChanges.Height;
    5880
    59       this.Magnification = newMagnification;
    60       this.oldSize = this.Size;
     81      //this.Magnification = newMagnification;
     82      //this.oldSize = this.Size;
    6183    }
    6284
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/TextEditor.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/View.cs

    r2781 r2801  
    1 using System;
     1#region License Information
     2//This end-user license agreement applies to the following software;
     3
     4//The Netron Diagramming Library
     5//Cobalt.IDE
     6//Xeon webserver
     7//Neon UI Library
     8
     9//Copyright (C) 2007, Francois M.Vanderseypen, The Netron Project & The Orbifold
     10
     11//This program is free software; you can redistribute it and/or
     12//modify it under the terms of the GNU General Public License
     13//as published by the Free Software Foundation; either version 2
     14//of the License, or (at your option) any later version.
     15
     16//This program is distributed in the hope that it will be useful,
     17//but WITHOUT ANY WARRANTY; without even the implied warranty of
     18//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19//GNU General Public License for more details.
     20
     21//You should have received a copy of the GNU General Public License
     22//along with this program; if not, write to the Free Software
     23//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
     24
     25
     26//http://www.fsf.org/licensing/licenses/gpl.html
     27
     28//http://www.fsf.org/licensing/licenses/gpl-faq.html
     29#endregion
     30
     31using System;
    232using System.Collections.Generic;
    333using System.Linq;
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446.csproj

    r2772 r2801  
    3636    </ConfigurationOverrideFile>
    3737    <DefineConstants>DEBUG;TRACE</DefineConstants>
    38     <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile>
     38    <DocumentationFile>
     39    </DocumentationFile>
    3940    <DebugSymbols>true</DebugSymbols>
    4041    <FileAlignment>4096</FileAlignment>
     
    7677    <ErrorReport>prompt</ErrorReport>
    7778    <CodeAnalysisRules>-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1807</CodeAnalysisRules>
     79  </PropertyGroup>
     80  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     81    <DebugSymbols>true</DebugSymbols>
     82    <OutputPath>bin\x86\Debug\</OutputPath>
     83    <DefineConstants>DEBUG;TRACE</DefineConstants>
     84    <BaseAddress>285212672</BaseAddress>
     85    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
     86    <DocumentationFile>bin\Debug\Netron Documentation.xml</DocumentationFile>
     87    <FileAlignment>4096</FileAlignment>
     88    <DebugType>full</DebugType>
     89    <PlatformTarget>x86</PlatformTarget>
     90    <CodeAnalysisRules>-Microsoft.Design#CA1040;-Microsoft.Design#CA1020;-Microsoft.Design#CA1045;-Microsoft.Design#CA1033;-Microsoft.Design#CA1030;-Microsoft.Design#CA1062;-Microsoft.Globalization#CA1301;-Microsoft.Globalization#CA1302;-Microsoft.Globalization#CA1303;-Microsoft.Globalization#CA1306;-Microsoft.Globalization#CA1304;-Microsoft.Globalization#CA1305;-Microsoft.Globalization#CA1300;-Microsoft.Mobility#CA1600;-Microsoft.Mobility#CA1601;-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1811;-Microsoft.Performance#CA1807;-Microsoft.Performance#CA1822;-Microsoft.Portability#CA1901;-Microsoft.Portability#CA1900;-Microsoft.Security#CA2116;-Microsoft.Security#CA2117;-Microsoft.Security#CA2105;-Microsoft.Security#CA2104;-Microsoft.Security#CA2114;-Microsoft.Security#CA2123;-Microsoft.Security#CA2108;-Microsoft.Security#CA2107;-Microsoft.Security#CA2103;-Microsoft.Security#CA2109;-Microsoft.Security#CA2106;-Microsoft.Security#CA2112;-Microsoft.Security#CA2110;-Microsoft.Security#CA2120;-Microsoft.Usage#CA2214;-Microsoft.Usage#CA2208</CodeAnalysisRules>
     91    <GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>
     92    <ErrorReport>prompt</ErrorReport>
     93  </PropertyGroup>
     94  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     95    <OutputPath>bin\x86\Release\</OutputPath>
     96    <DefineConstants>TRACE</DefineConstants>
     97    <BaseAddress>285212672</BaseAddress>
     98    <Optimize>true</Optimize>
     99    <FileAlignment>4096</FileAlignment>
     100    <PlatformTarget>x86</PlatformTarget>
     101    <CodeAnalysisRules>-Microsoft.Naming#CA1725;-Microsoft.Performance#CA1807</CodeAnalysisRules>
     102    <ErrorReport>prompt</ErrorReport>
    78103  </PropertyGroup>
    79104  <ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.