Skip to content

Commit

Permalink
干掉没有帮助的项目
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Jul 23, 2023
1 parent 73d5f08 commit c42e099
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 0 additions & 6 deletions Bp/Bp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bp", "Bp\Bp.csproj", "{BE6B
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WherewurjeahodairhohemConanaqe.Wpf", "WherewurjeahodairhohemConanaqe.Wpf\WherewurjeahodairhohemConanaqe.Wpf.csproj", "{1C47D82D-2921-46D2-8F87-4CEB5095C8CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JalowawerenearniQebemwawiyo.Wpf", "JalowawerenearniQebemwawiyo.Wpf\JalowawerenearniQebemwawiyo.Wpf.csproj", "{AF94E5C5-931C-4D58-AFA9-EC2E603BE5F2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -23,10 +21,6 @@ Global
{1C47D82D-2921-46D2-8F87-4CEB5095C8CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C47D82D-2921-46D2-8F87-4CEB5095C8CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C47D82D-2921-46D2-8F87-4CEB5095C8CF}.Release|Any CPU.Build.0 = Release|Any CPU
{AF94E5C5-931C-4D58-AFA9-EC2E603BE5F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF94E5C5-931C-4D58-AFA9-EC2E603BE5F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF94E5C5-931C-4D58-AFA9-EC2E603BE5F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF94E5C5-931C-4D58-AFA9-EC2E603BE5F2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
10 changes: 7 additions & 3 deletions Bp/WherewurjeahodairhohemConanaqe.Wpf/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

using Microsoft.Msagl.Layout.LargeGraphLayout;
using Shape = Microsoft.Msagl.Drawing.Shape;
using Microsoft.Msagl.Layout.Layered;
using Microsoft.Msagl.Core.Layout;

namespace WherewurjeahodairhohemConanaqe.Wpf;
/// <summary>
Expand All @@ -31,16 +33,18 @@ public MainWindow()

for (int i = 0; i < 1; i++)
{
var edge = graph.AddEdge("Octagon"+i,"Label", "Hexagon" + i);
var edge = graph.AddEdge("Octagon" + i, "Label", "Hexagon" + i);
graph.AddPrecalculatedEdge(edge);
graph.FindNode("Octagon" + i).Attr.Shape = Shape.Box;
graph.FindNode("Hexagon" + i).Attr.Shape = Shape.Hexagon;

graph.FindNode("Octagon" + i).Attr.FillColor = Microsoft.Msagl.Drawing.Color.Blue;

}


var railGraph = new RailGraph();



graph.Attr.LayerDirection = LayerDirection.LR;
GraphControl.Graph = graph;
Expand Down

0 comments on commit c42e099

Please sign in to comment.