17 lines
299 B
JavaScript
17 lines
299 B
JavaScript
![]() |
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
|
||
|
};
|