make subgraph size and width independant of main