added FD layout to jointJS impl