Properly fill the title of a component
See original GitHub issuethe diagram:
@startuml
interface _COMP_EXT1_IF1 as SwfComponentBase
component _COMP8 as RoadBoundaryFusion
@enduml
results in the formatted graph:
{
"nodes": [
{
"name": "_COMP_EXT1_IF1",
"members": [],
"id": "_COMP_EXT1_IF1",
"type": "Interface",
"hidden": true
},
{
"name": "_COMP8",
"id": "_COMP8",
"type": "Component",
"title": "_COMP8",
"hidden": true
}
],
"edges": [
{
"from": "_COMP8",
"to": "",
"name": "contains",
"hidden": true
}
]
}
ID, title and name of a component are identical but. But the title should be the string after as
.
For example:
component _COMP8 as RoadBoundaryFusion
should result in
{
"name": "_COMP8",
"id": "_COMP8",
"type": "Component",
"title": "RoadBoundaryFusion",
"hidden": true
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
The Document Title element - HTML - MDN Web Docs - Mozilla
The content of the title is one of the components used by search engine algorithms to decide the order in which to list...
Read more >HTML title tag - W3Schools
The <title> tag defines the title of the document. The title must be text-only, and it is shown in the browser's title bar...
Read more >Writing the title and abstract for a research paper - NCBI - NIH
The “title” should be descriptive, direct, accurate, appropriate, interesting, concise, precise, unique, and should not be misleading. The “abstract” needs to ...
Read more >Organizing Your Social Sciences Research Paper
The title summarizes the main idea or ideas of your study. ... It is, therefore, the most important element that defines the research...
Read more >7 The global structure of an HTML document - W3C
Unlike the TITLE element, which provides information about an entire document and may only appear once, the title attribute may annotate any number...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So currently, the
id
field is a feature of the graph-formatter and is alwaysid = name
. I am actually contemplating right now If i should add anid
property to all classes. The logic would then be:then we would not need this additional
title
attribute.I am not using the cli, but the library.
I will have a look at the modified tests, should be enough.