Add a Link property to the Structure class and new structure constructors with link parameters, and edit the ToPumlString() methods so that structures in diagrams can link to URLs. For example, if you create a person with
new Person("person1", "Person 1", "This is a person", "https://www.google.com"),
the PUML generated will be
Person(person1, "Person 1", "This is a person", $link="https://www.google.com")
and, if you create an SVG out of the PUML (using another library or server), clicking on the person in the diagram will take you to Google.
Add a
Link
property to theStructure
class and new structure constructors withlink
parameters, and edit theToPumlString()
methods so that structures in diagrams can link to URLs. For example, if you create a person withnew Person("person1", "Person 1", "This is a person", "https://www.google.com")
,the PUML generated will be
Person(person1, "Person 1", "This is a person", $link="https://www.google.com")
and, if you create an SVG out of the PUML (using another library or server), clicking on the person in the diagram will take you to Google.