If you use Node and React, React Flow is one of the best node graph implementations available. It allows you to build simple static node graphs to more complicated and interactive node graphs in a very intuitive way. It allows you to style the node graph in many different ways. For examples colors, font size, line and wire styles, etc. It also allows you to build your own custom node types.