<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:diag="clr-namespace:MindFusion.Diagramming;assembly=MindFusion.Diagramming"
             mc:Ignorable="d"
             x:Class="LayeredLayout.MainPage">

    <StackLayout
		HorizontalOptions="FillAndExpand"
		VerticalOptions="FillAndExpand">

        <Label Text="Layered layout" HorizontalTextAlignment="Center" />

        <diag:DiagramView x:Name="diagramView"
			HorizontalOptions="FillAndExpand"
			VerticalOptions="FillAndExpand">

        </diag:DiagramView>

        <StackLayout
			Orientation="Horizontal"
			HorizontalOptions="Center"
			Spacing="5" Padding="5" >

            <Button
				Text="Random"
				BorderColor="Black"
				BackgroundColor="Silver"
				Clicked="OnRandomClick"
				/>

        </StackLayout>

    </StackLayout>

</ContentPage>
