public PanelStructureCognitive(PanelModificationSimulation panelPrincipal) {
    super();
    this.panelPrincipal = panelPrincipal;
    this.setDelay(5);

    gCognitons = new ArrayList<GCogniton>();
    gPlan = new ArrayList<GPlan>();
    gLiens = new ArrayList<GLien>();
    gLiensConditionnels = new ArrayList<GLien>();
    gLinksTrigger = new ArrayList<GLien>();

    gTriggers = new ArrayList<GTrigger>();

    allCognitons = Configuration.cognitons;
    allCognitons.addAll(Configuration.cloudCognitons);
    plans = Configuration.plans;

    for (int i = 0; i < allCognitons.size(); i++) {
      if (allCognitons.get(i) instanceof Culturon) {
        showCloudCogniton((Culturon) allCognitons.get(i), 20, 40 + espacement * i);
      } else {
        afficherCogniton(allCognitons.get(i), 20, 40 + espacement * i);
      }
    }

    for (int i = 0; i < plans.size(); i++) {
      afficherPlan(plans.get(i), espaceCognitonsPlans, 40 + espacement * i);
    }

    creerLiensInfluence();
    creerLiensConditionnels();
    createTriggerLink();
  }
  protected void initializeDrawing() {
    for (int i = 0; i < allCognitons.size(); i++) {
      if (allCognitons.get(i).getType() != TypeDeCogniton.CULTURON) {
        afficherCogniton(allCognitons.get(i), 80, 40 + espacement * i);
      }
    }

    for (int i = 0; i < plans.size(); i++) {
      afficherPlan(plans.get(i), espaceCognitonsPlans, 40 + espacement * i, null);
    }

    /*	for (int i = 0; i < groups.size(); i++){
    		showGroup(groups.get(i), espaceCognitonsPlans * 3,40+espacement*i);
    	}
    */
    creerLiensInfluence();
    creerLiensConditionnels();
    createTriggerLink();
  }