title: Which patterns, practices or standards exist to store whole Diagram (or Models)?
body: <p>We are developing a <strong>simple Modeling Tools</strong> (to use it in other refactoring tools) to manage diagrams like CDG (Call Dependency Graph between classes) and etc.</p>
  
  <p>Our diagrams are <strong>similar to UML diagrams</strong> and they have some details like Use Case or Class Diagram's details.</p>
  
  <p>In this project we should store diagrams and open them later for some changes by users. (Similar to other modeling tools)</p>
  
  <p>Basic Implementation of this tools in Java are here: <br/>
  <a href="https://github.com/AsenaTechAcademy/Irani-OOP-in-Java-gModeler" rel="nofollow noreferrer">https://github.com/AsenaTechAcademy/Irani-OOP-in-Java-gModeler</a></p>
  
  <p><strong>The Question is</strong>: Which patterns or practices exist to store a diagram? Which standards exist to do this (and our team should learn them)?</p>
  
  <p>Two factors are important to out project:</p>
  
  <ol>
  <li>performance of reading and writing diagrams.</li>
  <li>diagram size on the hard/server.</li>
  </ol>