I want to try display a relationship diagram.
I have the xml
<School>
<Class>
<Name>1st Grade</Name>
<StudentName>A</StudentName>
<StudentName>B</StudentName>
<StudentName>C</StudentName>
<StudentName>D</StudentName>
</Class>
<Class>
<Name>2nd Grade</Name>
<StudentName>E</StudentName>
<StudentName>F</StudentName>
<StudentName>G</StudentName>
<StudentName>H</StudentName>
<Class>
<TeacherDetails>
<Teacher>
<Name>AAAA</Name>
<Teaches>1st Grade</Teaches>
<Teacher>
<Teacher>
<Name>BBBB</Name>
<Teaches>1st Grade</Teaches>
<Teaches>2nd Grade</Teaches>
</Teacher>
</TeacherDetails>
<School>
- How can I draw it, also, since there is a dependency for the teacher, there needs to be a connectivity between the Class & Teacher also.
- Is it possible to display them as icons and provide a tool tip which gives description, like the teacher icon would have teacher name and the grade she/he teaches?
Any help!!