You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace Ds.Modules.DsEntity
|
|
|
|
|
{
|
|
|
|
|
public class Ds_Work_Flow
|
|
|
|
|
{
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
public string x { get; set; }
|
|
|
|
|
public string y { get; set; }
|
|
|
|
|
public string text { get; set; }
|
|
|
|
|
public string icon { get; set; }
|
|
|
|
|
|
|
|
|
|
// nodes: [
|
|
|
|
|
// {
|
|
|
|
|
// id: '21',
|
|
|
|
|
// type: 'rect',
|
|
|
|
|
// x: 100,
|
|
|
|
|
// y: 200,
|
|
|
|
|
// text: '矩形节点',
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// id: '50',
|
|
|
|
|
// type: 'circle',
|
|
|
|
|
// x: 300,
|
|
|
|
|
// y: 400,
|
|
|
|
|
// text: '圆形节点',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
// // 边
|
|
|
|
|
// edges:
|
|
|
|
|
//[
|
|
|
|
|
// {
|
|
|
|
|
//type: 'polyline',
|
|
|
|
|
// sourceNodeId: '50',
|
|
|
|
|
// targetNodeId: '21',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Ds_Work_Flow_Edges
|
|
|
|
|
{
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
public string sourceNodeId { get; set; }
|
|
|
|
|
public string targetNodeId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|