Skip to content

Vertex label clipping #191

Closed
Closed
@colbec

Description

@colbec

In Linux openSUSE Leap 15.4, using:

Julia Version 1.8.3
Commit 0434deb161e (2022-11-14 20:14 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, haswell)
  Threads: 1 on 4 virtual cores

labelclipping

I was pleasantly surprised to discover that GraphPlot would accept vectors as labels for vertices. However if the vectors are greater than about 5-6 elements then clipping occurs. In my sample image the clipping is minor; in some of my efforts to use slightly larger vectors quite large chunks are missing. Note for example the clipping on the red node label.

Is it possible that in calculating the overall size of the display area the possibility of long vertex labels is not fully taken into account?

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