Comments 7
Вы бы хоть код оформили что ли…
+1
Вот если бы результат был такой же, как на первой картинке…
+2
А где код на xaml?
0
Xaml очень простой:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:graphsharp="clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls"
xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions"
Title="LanScape" Height="480" Width="640" Icon="/LanScape;component/net_256.ico">
<Grid>
<zoom:ZoomControl Margin="0,53,0,24">
<graphsharp:GraphLayout x:Name="GraphLayout" LayoutAlgorithmType="KK" OverlapRemovalAlgorithmType="FSA" HighlightAlgorithmType="Simple"/>
</zoom:ZoomControl>
<ProgressBar Name="ProgressBar1" Height="16" VerticalAlignment="Bottom" Margin="0,0,79,0" />
<Button Content="Scan" Height="23" HorizontalAlignment="Right" Name="Button1" VerticalAlignment="Bottom" Width="75" />
<ComboBox Height="23" HorizontalAlignment="Left" Margin="82,15,0,0" Name="ComboBox1" VerticalAlignment="Top" Width="120" />
</Grid>
</Window>
0
А как проще всего из QuickGraph сразу получить Bitmap с визуализацией графа?
0
Sign up to leave a comment.
Программная визуализация схемы локальной сети