Sysml Profiles Entities
Extension
- Preview
- Usage
- Definition
import { Extension } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Extension/>
// or
import { extendStyle } from "@dinghy/base-components";
import { EXTENSION } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Shape
{...props}
_style={extendStyle(props, EXTENSION)}
/>
{
_style: {
entity: 'endArrow=block;html=1;endFill=1;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;',
},
_width: 2,
_height: 180,
}
Generalization
- Preview
- Usage
- Definition
import { Generalization } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Generalization/>
// or
import { extendStyle } from "@dinghy/base-components";
import { GENERALIZATION } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Shape
{...props}
_style={extendStyle(props, GENERALIZATION)}
/>
{
_style: {
entity: 'endArrow=block;html=1;endFill=0;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;',
},
_width: 2,
_height: 180,
}
Profile
- Preview
- Usage
- Definition
import { Profile } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Profile/>
// or
import { extendStyle } from "@dinghy/base-components";
import { PROFILE } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Shape
{...props}
_style={extendStyle(props, PROFILE)}
/>
{
_style: {
entity: 'shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;',
},
_width: 160,
_height: 100,
}
Stereotype
- Preview
- Usage
- Definition
import { Stereotype } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Stereotype/>
// or
import { extendStyle } from "@dinghy/base-components";
import { STEREOTYPE } from '@dinghy/diagrams/entitiesSysmlProfiles'
<Shape
{...props}
_style={extendStyle(props, STEREOTYPE)}
/>
{
_style: {
entity: 'shape=rect;html=1;whiteSpace=wrap;align=center;',
},
_width: 160,
_height: 80,
}