1. 15 Jun, 2016 38 commits
  2. 13 Jun, 2016 2 commits
    • Mikaël Salson's avatar
      model.js: Save a .svg file rather than opening it · fcb47b0f
      Mikaël Salson authored
      Once the tab is opened it is not that easy to save the SVG.
      For instance FF adds <html> tags if one wants to save through the File > Save as button
      fcb47b0f
    • Mikaël Salson's avatar
      graph.js: Clip the graph · fd180735
      Mikaël Salson authored
      When exporting the graph the gray area extended to the bottom.
      We use a <clipPath> tag to ensure that nothing goes outside.
      All the other elements are put in an element which refers to this clip path.
      Moreover the rectangle defining the clip path is resized with the other rectangle
      when the graph needs be resized.
      fd180735