title: How to generate UML diagram from a table
body: <p>I have a (single) table that I want to produce UML diagram from. The structure is as follows:</p>
  
  <p>ID|Class|Sub-Class|Sub-Sub-Class|Property1|Property2|Property3...</p>
  
  <p>So is there a way to produce the class diagram from this table?</p>
  
  <p>Edit: Here is an example;</p>
  
  <pre><code>ID|Class |Sub-Class|Sub-Sub-Class|CanSwim|CanFly|Weight|
   1|Animal|Cat      |Tiger        |False  |False | 48kg |
   2|Animal|Cat      |Domestic Cat |False  |False | 4kg  |
   3|Animal|Fish     |Golden Fish  |True   |False |0.01kg|
   3|Human |NULL     |NULL         |True   |False |70kg  |
  </code></pre>
  
  <p>So the result would be a diagram consisting two classes one being Humans, another one being Animals with 2 sub classes, Fishes and Cats and Cats having two sub classes etc</p>