salesforce / runway-browser

Interactive visualization framework for Runway models of distributed systems
https://runway.systems
MIT License
188 stars 31 forks source link

Allow customization of View width and height #12

Closed vidbina closed 8 years ago

vidbina commented 8 years ago

Allow users to specify a width and height attribute in the description of the View.

let View = (controller, svg, module) => {
  // ...
  return({
    width: 1200,
    height: 800,
    update: () => {
      // update logic
    }
  });
};
vidbina commented 8 years ago

oops... we committed some other stuff here that will break stuff. I'll fix it and request a new pull when I've sorted out the different features we wanted to merge upstreams :wink: