Skip to content

WIP: API and CLI for render graph image #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jan 3, 2018
Merged

WIP: API and CLI for render graph image #374

merged 20 commits into from
Jan 3, 2018

Conversation

jonnor
Copy link
Member

@jonnor jonnor commented Jan 1, 2018

So one can output a PNG/JPEG (and SVG). Useful for instance in documentation

Missing

  • Rendering element to canvas and saving as PNG
  • CLI tool that can run this in browser and return results
  • Fit viewport to the graph
  • Fix hosting hosting of jsjob script in CLI tool. Alt: Allow hosting job scripts jsjob#41
  • Move API code into library, only .jsjob outside
  • Tests

Future

  • Fix group labels show fully opaque/white
  • Fix missing FontAwesome icons (components, exported ports)
  • Perform autolayout when neccesary (graph w/o position info)
  • Allow enforcing high level-of-detail (always portnames, component names)

Closes #287

@jonnor jonnor merged commit 9cbd480 into master Jan 3, 2018
@jonnor
Copy link
Member Author

jonnor commented Jan 3, 2018

Grr, accidentially pushed to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant