Skip to content

Bad displays #190

Closed
Closed
@Lecrapouille

Description

@Lecrapouille

Hi ! Again to disturb you. Here is my matrix:

A = [3 7; 2 4]

Which corresponds to the expected network.
Expected

The following code

G = SimpleWeightedDiGraph(A)
gplot(G, nodelabel=1:nv(G), edgelabel=B)

gives me:
Obtained1

Issues are:

  • no edge labels on nodes cycling to themselves,
  • and in jupyter notebook the layout is truncated.

Based on #160 The following code

gplot(G, nodelabel=1:nv(G), edgelabel=B, linetype="curve")

gives me:
Obtained2

There are:

  • no edge labels on nodes cycling to themselves,
  • and in jupyter notebook the layout is truncated.
  • labels does not follow edges.
  • edgelabeldistx and edgelabeldisty do not fix.

I dunno if #186 will fix this simple graph.

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