Giter Club home page Giter Club logo

graphysics's Introduction

graphysics's People

Contributors

wassfila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cjhyy06

graphysics's Issues

Firefox not supported

image

  • style is missing

  • document.body.offsetHeight is 0 fallback on window.innerHeight which breaks the parent element value provided by the function create_svg() call

  • CSSStyleSheet() throws an error, fallback on appending style element but menu still using style construction

CSSStyleSheet construction not supported by many browsers

issue report from Graphviz forum
originally tried opening this in Safari, which shows a blank page. Opening the Web Inspector, I saw the following error:

[Error] Unhandled Promise Rejection: TypeError: function is not a constructor (evaluating 'new CSSStyleSheet()')
(anonymous function) (render.js:155)
promiseReactionJob
Right now, that feature is available in about half of installed browsers: https://caniuse.com/#feat=mdn-api_cssstylesheet (including, apparently, the latest Safari, despite my personal experience)

You might want to consider adding a polyfill for stylesheet construction, or adding a message about browser support.

adding 3D shadows and lighting

Let's try a 3D shadow/lighting effect with Lume. I'll give it a shot if you haven't already by the time I swing back here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.