clips / clips/pattern

Extended support for static graphs and exporting graphs

Open
#15 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.9k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

In pattern.graph, I'm frequently using the node.fixed=True attribute to get more control of how a graph looks visually.
For example, http://theater.ua.ac.be/bih/october.

It would be nice to have some sort of export functionality for this, so the graphs would look nicer when printed. For instance, export to SVG or PDF.

On a related note, when I fix all of the nodes of a graph, it is no longer necessary to animate it, so I set frames=1. However, this does not work out well in Mobile Safari on iOS devices. The graph is rendered, but the nodes and edges are not drawn (only the labels). With an animated graph, this problem does not occur (although animation is very slow with heavily interconnected graphs).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating pattern.graph and the rendering path used when node.fixed=True and frames=1. Reproduce the Mobile Safari case, then trace how graph output is produced for printing. Done means the requested export formats are defined and fixed-node graphs render with visible nodes and edges on iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, python
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.