nitc :: InheritanceGraph :: draw_node
mentity
# Draw a node from a `mentity`
fun draw_node(mentity: MEntity): DotElement do
if nodes.has_key(mentity) then return nodes[mentity]
var node: DotElement = mentity.to_dot_node
if mentity == center then node = highlight(node)
nodes[mentity] = node
graph.add node
return node
end
src/doc/commands/commands_graph.nit:289,2--297,4