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.
17 lines
299 B
JavaScript
17 lines
299 B
JavaScript
|
7 months ago
|
import { CircleNode, CircleNodeModel } from '@logicflow/core';
|
||
|
|
|
||
|
|
class StartModel extends CircleNodeModel {
|
||
|
|
initNodeData(data) {
|
||
|
|
super.initNodeData(data);
|
||
|
|
this.r = 20;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
class StartView extends CircleNode {}
|
||
|
|
|
||
|
|
export default {
|
||
|
|
type: 'start',
|
||
|
|
model: StartModel,
|
||
|
|
view: StartView
|
||
|
|
};
|