Sysml Requirements Entities
Copy Dependency
- Preview
- Usage
- Definition
import { CopyDependency } from '@dinghy/diagrams/entitiesSysmlRequirements'
<CopyDependency/>
// or
import { extendStyle } from "@dinghy/base-components";
import { COPY_DEPENDENCY } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, COPY_DEPENDENCY)}
/>
{
_style: {
entity: 'endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;',
},
_width: 2,
_height: 60,
}
Derive Callout
- Preview
- Usage
- Definition
import { DeriveCallout } from '@dinghy/diagrams/entitiesSysmlRequirements'
<DeriveCallout/>
// or
import { extendStyle } from "@dinghy/base-components";
import { DERIVE_CALLOUT } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, DERIVE_CALLOUT)}
/>
{
_style: {
entity: 'endArrow=none;edgeStyle=none;dashed=1;html=1;',
},
_width: 2,
_height: 60,
}
Derive Dependency
- Preview
- Usage
- Definition
import { DeriveDependency } from '@dinghy/diagrams/entitiesSysmlRequirements'
<DeriveDependency/>
// or
import { extendStyle } from "@dinghy/base-components";
import { DERIVE_DEPENDENCY } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, DERIVE_DEPENDENCY)}
/>
{
_style: {
entity: 'endArrow=open;html=1;edgeStyle=none;endSize=12;dashed=1;',
},
_width: 2,
_height: 60,
}
Master Callout
- Preview
- Usage
- Definition
import { MasterCallout } from '@dinghy/diagrams/entitiesSysmlRequirements'
<MasterCallout/>
// or
import { extendStyle } from "@dinghy/base-components";
import { MASTER_CALLOUT } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, MASTER_CALLOUT)}
/>
{
_style: {
entity: 'shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;',
},
_width: 0,
_height: 60,
}
Master Callout 2
- Preview
- Usage
- Definition
import { MasterCallout2 } from '@dinghy/diagrams/entitiesSysmlRequirements'
<MasterCallout2/>
// or
import { extendStyle } from "@dinghy/base-components";
import { MASTER_CALLOUT_2 } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, MASTER_CALLOUT_2)}
/>
{
_style: {
entity: 'endArrow=none;html=1;edgeStyle=none;dashed=1;',
},
_width: 2,
_height: 60,
}
Requirement
- Preview
- Usage
- Definition
import { Requirement } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Requirement/>
// or
import { extendStyle } from "@dinghy/base-components";
import { REQUIREMENT } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, REQUIREMENT)}
/>
{
_style: {
entity: 'fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;marginBottom=0;',
},
_width: 0,
_height: 100,
}
Requirement Containment Relationship
- Preview
- Usage
- Definition
import { RequirementContainmentRelationship } from '@dinghy/diagrams/entitiesSysmlRequirements'
<RequirementContainmentRelationship/>
// or
import { extendStyle } from "@dinghy/base-components";
import { REQUIREMENT_CONTAINMENT_RELATIONSHIP } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, REQUIREMENT_CONTAINMENT_RELATIONSHIP)}
/>
{
_style: {
entity: 'shape=rect;html=1;whiteSpace=wrap;align=center;',
},
_width: 300,
_height: 180,
}
Requirement Containment Relationship 2
- Preview
- Usage
- Definition
import { RequirementContainmentRelationship2 } from '@dinghy/diagrams/entitiesSysmlRequirements'
<RequirementContainmentRelationship2/>
// or
import { extendStyle } from "@dinghy/base-components";
import { REQUIREMENT_CONTAINMENT_RELATIONSHIP_2 } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, REQUIREMENT_CONTAINMENT_RELATIONSHIP_2)}
/>
{
_style: {
entity: 'rounded=0;html=1;labelBackgroundColor=none;endArrow=none;edgeStyle=elbowEdgeStyle;elbow=vertical;startArrow=sysMLPackCont;startSize=12;',
},
_width: 3,
_height: 180,
}
Requirement Diagram
- Preview
- Usage
- Definition
import { RequirementDiagram } from '@dinghy/diagrams/entitiesSysmlRequirements'
<RequirementDiagram/>
// or
import { extendStyle } from "@dinghy/base-components";
import { REQUIREMENT_DIAGRAM } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, REQUIREMENT_DIAGRAM)}
/>
{
_style: {
entity: 'html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=110;strokeWidth=2;align=center;',
},
_width: 160,
_height: 80,
}
Satisfy Callout
- Preview
- Usage
- Definition
import { SatisfyCallout } from '@dinghy/diagrams/entitiesSysmlRequirements'
<SatisfyCallout/>
// or
import { extendStyle } from "@dinghy/base-components";
import { SATISFY_CALLOUT } from '@dinghy/diagrams/entitiesSysmlRequirements'
<Shape
{...props}
_style={extendStyle(props, SATISFY_CALLOUT)}
/>
{
_style: {
entity: 'shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;',
},
_width: 1,
_height: 60,
}