Skip to content
Merged
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
12 changes: 6 additions & 6 deletions plantuml/parser/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ ComponentA --> ComponentB : uses
=== Parse Tree ===
Rule::startuml -> "@startuml"
Rule::statement -> "package \"Sample SEooC\" ..."
Rule::component
Rule::nested_component -> "package \"Sample SEooC\""
Rule::default_component
Rule::component_type -> "package"
Rule::default_component_name -> "\"Sample SEooC\""
Rule::element
Rule::nested_element -> "package \"Sample SEooC\""
Rule::default_element
Rule::element_kind -> "package"
Rule::default_element_name -> "\"Sample SEooC\""
Rule::alias -> "as SampleSEooC"
Rule::component_style -> "#LightBlue"
Rule::element_style -> "#LightBlue"
Rule::statement_block -> "{ ... }"
Rule::relation -> "ComponentA --> ComponentB : uses"
Rule::relation_object -> "ComponentA"
Expand Down
20 changes: 20 additions & 0 deletions plantuml/parser/integration_test/deployment_diagram/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
filegroup(
name = "deployment_diagram_files",
srcs = glob([
"**/*.puml",
"**/*.json",
]),
visibility = ["//visibility:public"],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
' *******************************************************************************
' Copyright (c) 2026 Contributors to the Eclipse Foundation
'
' See the NOTICE file(s) distributed with this work for additional
' information regarding copyright ownership.
'
' This program and the accompanying materials are made available under the
' terms of the Apache License Version 2.0 which is available at
' https://www.apache.org/licenses/LICENSE-2.0
'
' SPDX-License-Identifier: Apache-2.0
' *******************************************************************************
@startuml arrows_link

node host_a
node host_b
node host_c
node host_d
node host_e
host_a -- host_b : mark_a
host_a .. host_c : mark_b
host_a ~~ host_d : mark_c
host_a == host_e

artifact bundle_a
artifact bundle_b
artifact bundle_c
artifact bundle_d
artifact bundle_e
artifact bundle_f
artifact bundle_g
artifact bundle_h
artifact bundle_i
artifact bundle_j
bundle_a --> bundle_b
bundle_a --* bundle_c
bundle_a --o bundle_d
bundle_a --+ bundle_e
bundle_a --# bundle_f
bundle_a -->> bundle_g
bundle_a --0 bundle_h
bundle_a --^ bundle_i
bundle_a --(0 bundle_j

@enduml
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"arrows_link.puml": {
"host_a": {
"id": "host_a",
"name": "host_a",
"alias": null,
"parent_id": null,
"comp_type": "Node",
"stereotype": null,
"relations": [
{
"target": "host_b",
"annotation": "mark_a",
"relation_type": "None"
},
{
"target": "host_c",
"annotation": "mark_b",
"relation_type": "None"
},
{
"target": "host_d",
"annotation": "mark_c",
"relation_type": "None"
},
{
"target": "host_e",
"annotation": null,
"relation_type": "None"
}
]
},
"host_b": {
"id": "host_b",
"name": "host_b",
"alias": null,
"parent_id": null,
"comp_type": "Node",
"stereotype": null,
"relations": []
},
"host_c": {
"id": "host_c",
"name": "host_c",
"alias": null,
"parent_id": null,
"comp_type": "Node",
"stereotype": null,
"relations": []
},
"host_d": {
"id": "host_d",
"name": "host_d",
"alias": null,
"parent_id": null,
"comp_type": "Node",
"stereotype": null,
"relations": []
},
"host_e": {
"id": "host_e",
"name": "host_e",
"alias": null,
"parent_id": null,
"comp_type": "Node",
"stereotype": null,
"relations": []
},
"bundle_a": {
"id": "bundle_a",
"name": "bundle_a",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": [
{
"target": "bundle_b",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_c",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_d",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_e",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_f",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_g",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_h",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_i",
"annotation": null,
"relation_type": "None"
},
{
"target": "bundle_j",
"annotation": null,
"relation_type": "None"
}
]
},
"bundle_b": {
"id": "bundle_b",
"name": "bundle_b",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_c": {
"id": "bundle_c",
"name": "bundle_c",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_d": {
"id": "bundle_d",
"name": "bundle_d",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_e": {
"id": "bundle_e",
"name": "bundle_e",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_f": {
"id": "bundle_f",
"name": "bundle_f",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_g": {
"id": "bundle_g",
"name": "bundle_g",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_h": {
"id": "bundle_h",
"name": "bundle_h",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_i": {
"id": "bundle_i",
"name": "bundle_i",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
},
"bundle_j": {
"id": "bundle_j",
"name": "bundle_j",
"alias": null,
"parent_id": null,
"comp_type": "Artifact",
"stereotype": null,
"relations": []
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
' *******************************************************************************
' Copyright (c) 2026 Contributors to the Eclipse Foundation
'
' See the NOTICE file(s) distributed with this work for additional
' information regarding copyright ownership.
'
' This program and the accompanying materials are made available under the
' terms of the Apache License Version 2.0 which is available at
' https://www.apache.org/licenses/LICENSE-2.0
'
' SPDX-License-Identifier: Apache-2.0
' *******************************************************************************
@startuml declare_elements

' Generic fixture names to avoid mirroring external example text.
actor role_a
agent role_b
artifact item_a
boundary zone_a
card item_b
cloud zone_b
component part_a
control part_b
database store_a
entity record_a
file doc_a
folder dir_a
frame zone_c
interface port_a
node host_a
package pack_a
queue lane_a
stack lane_b
rectangle box_a
storage store_b
usecase case_a

@enduml
Loading
Loading