Discrete flow matching framework for graph generation