Skip to content

Layout Algorithm Struggle #244

Description

@TomStevenson1

Hi,

I've been trying to display a dependency map DOT file by converting it into a format that ipysigma can better accept. Unfortunately, after setting everything up, the Sigma visualization hasn't yielded any meaningful results yet.

I tried loading the DOT file into Gephi and got almost the same output. I assume this is because both tools rely on similar graphics engines for node placement. I'm wondering if I'm missing something major or if there's something else I should try.

My current Sigma setup is as follows:

from ipysigma import Sigma

Sigma(NewGraph,
      node_metrics=['louvain'],
      node_color='louvain',
      node_size_range=(4, 5),
      max_categorical_colors=30,
      default_edge_type='curve',
      node_border_color_from='node',
      default_node_label_size=5,  # Increased label size
      node_size=NewGraph.degree,
      layout_settings={
          "scalingRatio": 150000.0,  # Spread out the layout further
          "strongGravityMode": False,
          "gravity": 1,
      }
)

This produces the following output:

Image

I know I should look into this, but even after adjusting the layout settings, I see no noticeable change.

Where else should I look? My main struggle is making this dense graph more free-flowing, like in the demo site. I feel like I may be missing something obvious, so please feel free to point out any major issues.

Thanks!

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