DiagramNodeInCompleteLinks - Helmut-Ortmann/EnterpriseArchitect_hoTools GitHub Wiki

Mark Diagram Nodes with incomplete links

Sometimes it is useful not to show all links of a Diagram Object/Node.

hoTools allows you to mark Diagram nodes with incomplete links. For example:

  • Node that is complete (all links visible) with black border
  • Node that has hidden links outside the diagram with yellow border
  • Node that has hidden links inside the Diagram with red border

The complete model

Apply Completeness Marker

Apply Object Style

See the result

The Configuration

Configure your Settings.Json chapter 'DiagramObjectStyle'::

{

  "Name":        "CompleteNessMarker",
  "Description": "Set marker if Diagram Object/Node links aren't complete:\r\n- Black Border: Complete Node\r\n- Yellow Border: Node has hidden links outside Diagram\r\n- Red Border: Node has hidden links inside Diagram",
  "Type":        "", 
  "Style":       "",
  "Property":    "CompleteDiagram=BorderColor: Black: Yellow: Red;"
}

You think you don't want to see a marker for a link to class outside the Diagram. Ok, just change the configuration or make a new one:

{

  "Name":        "CompleteNessMarker",
  "Description": "Set marker if Diagram Object/Node links aren't complete:\r\n- Black Border: Complete Node\r\n- Yellow Border: Node has hidden links outside Diagram\r\n- Red Border: Node has hidden links inside Diagram",
  "Type":        "", 
  "Style":       "",
  "Property":    "CompleteDiagram=BorderColor: Black: Black: Red;"
}

References