digraph G {
  node [shape="box"];
  library [label="foolib"];

  subgraph cluster_java_thrift {
    label="mybird-java";
    java_thrift [shape="ellipse",label="com.twitter.mybird.thriftjava.FeatherType"]
  }

  subgraph cluster_scala_thrift {
    label="mybird-scala";
    scala_thrift [shape="ellipse",color="red",label="com.twitter.mybird.thriftjava.FeatherType"]
  }

  library -> java_library;
  library -> scala_library;
  java_library -> java_thrift;
  scala_library -> scala_thrift;
}