Users user php id. Древовидная структура php sql. students information systems. force directed graph. janusgraph пример.