Spaces:
Running
Running
Update sample_data.py
Browse files- sample_data.py +3 -11
sample_data.py
CHANGED
|
@@ -1284,20 +1284,17 @@ CLASS_DIAGRAM_JSON = """
|
|
| 1284 |
{
|
| 1285 |
"from": "Car",
|
| 1286 |
"to": "Vehicle",
|
| 1287 |
-
"type": "inheritance"
|
| 1288 |
-
"label": "extends"
|
| 1289 |
},
|
| 1290 |
{
|
| 1291 |
"from": "Motorcycle",
|
| 1292 |
"to": "Vehicle",
|
| 1293 |
-
"type": "inheritance"
|
| 1294 |
-
"label": "extends"
|
| 1295 |
},
|
| 1296 |
{
|
| 1297 |
"from": "Car",
|
| 1298 |
"to": "Engine",
|
| 1299 |
"type": "composition",
|
| 1300 |
-
"label": "has",
|
| 1301 |
"multiplicity_from": "1",
|
| 1302 |
"multiplicity_to": "1"
|
| 1303 |
},
|
|
@@ -1305,7 +1302,6 @@ CLASS_DIAGRAM_JSON = """
|
|
| 1305 |
"from": "Motorcycle",
|
| 1306 |
"to": "Engine",
|
| 1307 |
"type": "composition",
|
| 1308 |
-
"label": "has",
|
| 1309 |
"multiplicity_from": "1",
|
| 1310 |
"multiplicity_to": "1"
|
| 1311 |
},
|
|
@@ -1313,7 +1309,6 @@ CLASS_DIAGRAM_JSON = """
|
|
| 1313 |
"from": "Car",
|
| 1314 |
"to": "TransmissionType",
|
| 1315 |
"type": "association",
|
| 1316 |
-
"label": "uses",
|
| 1317 |
"multiplicity_from": "1",
|
| 1318 |
"multiplicity_to": "1"
|
| 1319 |
},
|
|
@@ -1321,21 +1316,18 @@ CLASS_DIAGRAM_JSON = """
|
|
| 1321 |
"from": "Vehicle",
|
| 1322 |
"to": "FuelType",
|
| 1323 |
"type": "association",
|
| 1324 |
-
"label": "uses",
|
| 1325 |
"multiplicity_from": "1",
|
| 1326 |
"multiplicity_to": "1"
|
| 1327 |
},
|
| 1328 |
{
|
| 1329 |
"from": "GarageService",
|
| 1330 |
"to": "VehicleService",
|
| 1331 |
-
"type": "realization"
|
| 1332 |
-
"label": "implements"
|
| 1333 |
},
|
| 1334 |
{
|
| 1335 |
"from": "GarageService",
|
| 1336 |
"to": "Vehicle",
|
| 1337 |
"type": "dependency",
|
| 1338 |
-
"label": "services",
|
| 1339 |
"multiplicity_from": "1",
|
| 1340 |
"multiplicity_to": "*"
|
| 1341 |
}
|
|
|
|
| 1284 |
{
|
| 1285 |
"from": "Car",
|
| 1286 |
"to": "Vehicle",
|
| 1287 |
+
"type": "inheritance"
|
|
|
|
| 1288 |
},
|
| 1289 |
{
|
| 1290 |
"from": "Motorcycle",
|
| 1291 |
"to": "Vehicle",
|
| 1292 |
+
"type": "inheritance"
|
|
|
|
| 1293 |
},
|
| 1294 |
{
|
| 1295 |
"from": "Car",
|
| 1296 |
"to": "Engine",
|
| 1297 |
"type": "composition",
|
|
|
|
| 1298 |
"multiplicity_from": "1",
|
| 1299 |
"multiplicity_to": "1"
|
| 1300 |
},
|
|
|
|
| 1302 |
"from": "Motorcycle",
|
| 1303 |
"to": "Engine",
|
| 1304 |
"type": "composition",
|
|
|
|
| 1305 |
"multiplicity_from": "1",
|
| 1306 |
"multiplicity_to": "1"
|
| 1307 |
},
|
|
|
|
| 1309 |
"from": "Car",
|
| 1310 |
"to": "TransmissionType",
|
| 1311 |
"type": "association",
|
|
|
|
| 1312 |
"multiplicity_from": "1",
|
| 1313 |
"multiplicity_to": "1"
|
| 1314 |
},
|
|
|
|
| 1316 |
"from": "Vehicle",
|
| 1317 |
"to": "FuelType",
|
| 1318 |
"type": "association",
|
|
|
|
| 1319 |
"multiplicity_from": "1",
|
| 1320 |
"multiplicity_to": "1"
|
| 1321 |
},
|
| 1322 |
{
|
| 1323 |
"from": "GarageService",
|
| 1324 |
"to": "VehicleService",
|
| 1325 |
+
"type": "realization"
|
|
|
|
| 1326 |
},
|
| 1327 |
{
|
| 1328 |
"from": "GarageService",
|
| 1329 |
"to": "Vehicle",
|
| 1330 |
"type": "dependency",
|
|
|
|
| 1331 |
"multiplicity_from": "1",
|
| 1332 |
"multiplicity_to": "*"
|
| 1333 |
}
|