Skip to content

Add support for edge and port labels #5

@LittleHelicase

Description

@LittleHelicase

In some cases it would be nice to display the type of an edge or the types of each port in the graph directly. Klay supports labels on edges and ports. For edges one has to specify an label object like this:

   "labels": [{ "text": "label-text" }],

in the edge. Thx to @leMaik for this, see KLay JSON Format. Currently it is unclear how to specify the width of the label so that the layouter can use this information (e.g. wenn the label is long it should reserve more space.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions