Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-stereotypes functionality and new patterns #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions ingrid/src/model_processing/patterns/CapabilityConfiguration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"Columns to Navigation Map": {
"Mission Thread": [
"Connection",
"owner",
"CapConfig"
],
"OrganizationEchelon": [
"Connection",
"type",
"Org"
],
"Interaction": [
"Connection"
]

},
"Pattern Graph Edges": [
[
"composite owner",
"CapConfig",
"type"
],
[
"Connection",
"Org",
"type"
],
[
"A_composite owner_Connection",
"composite owner",
"memberEnd"
],
[
"A_composite owner_Connection",
"Connection",
"memberEnd"
],
[
"Connection",
"CapConfig",
"owner"
],
[
"composite owner",
"A_composite owner_Connection",
"owner"
]
],
"Root Node": "Connection",
"Vertex MetaTypes": {
"CapConfig": "Class",
"Org": "Class",
"A_composite owner_Connection": "Association",
"composite owner": "Property",
"Connection": "Property"
},
"Vertex Settings": {
"CapConfig": null,
"Org": null,
"A_composite owner_Connection": null,
"composite owner": null,
"Connection": {
"aggregation": "composite"
}
},
"Vertex Stereotypes": {
"CapConfig": [
{
"stereotype": "CapabilityConfiguration"
}
],
"Org": [
{
"stereotype": "Organization"
}
],
"A_composite owner_Connection": [
{
"stereotype": "ResourceAssociation"
}
],
"composite owner": [
{
"stereotype": null
}
],
"Connection":[
{
"stereotype": null
}
]
}
}
93 changes: 93 additions & 0 deletions ingrid/src/model_processing/patterns/OrgAssociation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"Columns to Navigation Map": {
"Organization": [
"First Connection",
"owner",
"First Owner"
],
"System": [
"First Connection",
"type",
"Second Owner"
],
"Association": [
"First Connection"
]
},
"Pattern Graph Edges": [
[
"composite owner1",
"First Owner",
"type"
],
[
"First Connection",
"Second Owner",
"type"
],
[
"A_composite owner1_First Connection",
"composite owner1",
"memberEnd"
],
[
"A_composite owner1_First Connection",
"First Connection",
"memberEnd"
],
[
"First Connection",
"First Owner",
"owner"
],
[
"composite owner1",
"A_composite owner1_First Connection",
"owner"
]
],
"Root Node": "First Connection",
"Vertex MetaTypes": {
"First Owner": "Class",
"Second Owner": "Class",
"A_composite owner1_First Connection": "Association",
"composite owner1": "Property",
"First Connection": "Property"
},
"Vertex Settings": {
"First Owner": null,
"Second Owner": null,
"A_composite owner1_First Connection": null,
"composite owner1": null,
"First Connection": {
"aggregation": "shared"
}
},
"Vertex Stereotypes": {
"First Owner": [
{
"stereotype": "Organization"
}
],
"Second Owner": [
{
"stereotype": "System"
}
],
"A_composite owner1_First Connection": [
{
"stereotype": "ResourceAssociation"
}
],
"composite owner1": [
{
"stereotype": null
}
],
"First Connection": [
{
"stereotype": null
}
]
}
}
93 changes: 93 additions & 0 deletions ingrid/src/model_processing/patterns/OrgComposition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"Columns to Navigation Map": {
"Organization1": [
"First Connection",
"owner",
"First Owner"
],
"Organization2": [
"First Connection",
"type",
"Second Owner"
],
"Composition": [
"First Connection"
]
},
"Pattern Graph Edges": [
[
"composite owner1",
"First Owner",
"type"
],
[
"First Connection",
"Second Owner",
"type"
],
[
"A_composite owner1_First Connection",
"composite owner1",
"memberEnd"
],
[
"A_composite owner1_First Connection",
"First Connection",
"memberEnd"
],
[
"First Connection",
"First Owner",
"owner"
],
[
"composite owner1",
"A_composite owner1_First Connection",
"owner"
]
],
"Root Node": "First Connection",
"Vertex MetaTypes": {
"First Owner": "Class",
"Second Owner": "Class",
"A_composite owner1_First Connection": "Association",
"composite owner1": "Property",
"First Connection": "Property"
},
"Vertex Settings": {
"First Owner": null,
"Second Owner": null,
"A_composite owner1_First Connection": null,
"composite owner1": null,
"First Connection": {
"aggregation": "composite"
}
},
"Vertex Stereotypes": {
"First Owner": [
{
"stereotype": "Organization"
}
],
"Second Owner": [
{
"stereotype": "Organization"
}
],
"A_composite owner1_First Connection": [
{
"stereotype": "ResourceAssociation"
}
],
"composite owner1": [
{
"stereotype": null
}
],
"First Connection": [
{
"stereotype": null
}
]
}
}
91 changes: 91 additions & 0 deletions ingrid/src/model_processing/patterns/RInterLifeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"Columns to Navigation Map": {
"CapConfig": [
"MiddleInter",
"owner",
"CapConfig"
],
"MiddleInter": [
"RInter",
"owner",
"MiddleInter"
],
"System1": [
"MiddleInter",
"context",
"Sys1"
],
"System2": [
"Sys2"
],
"Message": [
"Async"
]
},
"Pattern Graph Edges": [
[
"MiddleInter",
"CapConfig",
"owner"
],
[
"Sys1",
"CapConfig",
"owner"
],
[
"Sys2",
"CapConfig",
"owner"
],
[
"Async",
"MiddleInter",
"owner"
]
],
"Root Node": "CapConfig",
"Vertex MetaTypes": {
"CapConfig": "Class",
"MiddleInter": "Interaction",
"Sys1": "Property",
"Sys2": "Property",
"Async": "Message"
},
"Vertex Settings": {
"CapConfig": null,
"MiddleInter": null,
"Sys1": null,
"Sys2": null,
"Async": {
"Message Sort": "asynchSignal"
}
},
"Vertex Stereotypes": {
"CapConfig": [
{
"stereotype": "CapabilityConfiguration"
}
],
"Sys1": [
{
"stereotype": ["PartProperty", "ResourceRole"]
}
],
"Sys2": [
{
"stereotype": ["PartProperty", "ResourceRole"]
}
],
"MiddleInter": [
{
"stereotype": null
}
],
"Async": [
{
"stereotype": "ResourceMessage"
}
]
}
}
Loading