function genEditableConceptInfo($interface)
{
    global $allInterfaceObjects;
    global $relationTableInfo;
    $editableConcepts = $allInterfaceObjects[$interface]['editableConcepts'];
    $atomViewMap = array();
    foreach ($editableConcepts as $editableConcept) {
        $allAtoms = getAllConceptAtoms($editableConcept);
        $atomsAndViews = array();
        foreach ($allAtoms as $atom) {
            $atomsAndViews[] = array('atom' => $atom, 'view' => showViewAtom($atom, $editableConcept));
        }
        $atomViewMap[$editableConcept] = array('hasView' => getView($editableConcept) != null, 'atomViewMap' => $atomsAndViews);
    }
    $atomKeyMapJson = json_encode($atomViewMap);
    echo "\n\nfunction getEditableConceptInfo() {\n";
    echo "  return {$atomKeyMapJson};\n";
    echo "}\n";
}
function isAtomInConcept($atom, $concept)
{
    return in_array($atom, getAllConceptAtoms($concept));
}