Function GraphEdit.addValidConnectionType

Makes possible the connection between two different slot types. The type is defined with the GraphNode.setSlot method.

void addValidConnectionType (
  const(long) from_type,
  const(long) to_type
) nothrow @nogc;