enums.cs

来自「英语句子自然语言处理统计分析例子 Statistical parsing of」· CS 代码 · 共 59 行

CS
59
字号
using System;

namespace Netron.Lithium
{
	/// <summary>
	/// The shape types available in this assembly
	/// </summary>
	public enum ShapeTypes
	{
		/// <summary>
		/// the default rectangular shape
		/// </summary>
		Rectangular,
		/// <summary>
		/// an oval shape
		/// </summary>
		Oval,
		/// <summary>
		/// a text label
		/// </summary>
		TextLabel
	}

	/// <summary>
	/// The direction in which the tree layout spreads the diagram
	/// </summary>
	public enum TreeDirection
	{
		/// <summary>
		/// the layout orders the shapes along the vertical line
		/// </summary>
		Vertical,
		/// <summary>
		/// the layout orders the shapes along an horizontal line
		/// </summary>
		Horizontal
	}

	/// <summary>
	/// The types of connections in this assembly
	/// </summary>
	public enum ConnectionType
	{
		/// <summary>
		/// The default connection simply connects the centers of the shapes
		/// </summary>
		Default,
		/// <summary>
		/// the traditional connection is a rectangular connections which mimics the traditional
		/// layout of hierarchies and flowcharts
		/// </summary>
		Traditional,
		/// <summary>
		/// a smoothly curved form connecting the shapes
		/// </summary>
		Bezier
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?